CVE-2026-54055
Last modified
CVE-2026-54055 is a medium-severity vulnerability rated 5/10 on the CVSS scale. Kitty is a cross-platform GPU based terminal. In versions prior to 0.47.2, a local privilege escalation vulnerability exists in kitty's file transmission protocol where a child process running in the terminal can write to arbitrary files on the filesystem by exploiting a TOCTOU (Time-of-Check-Time-of-Use) race condition between symlink validation and file creation. EPSS estimates a 0.07% chance of exploitation in the next 30 days.
Description
Kitty is a cross-platform GPU based terminal. In versions prior to 0.47.2, a local privilege escalation vulnerability exists in kitty's file transmission protocol where a child process running in the terminal can write to arbitrary files on the filesystem by exploiting a TOCTOU (Time-of-Check-Time-of-Use) race condition between symlink validation and file creation. The `os.open()` call used to create files does not use `O_NOFOLLOW`, allowing an attacker to create a symlink between the initial stat check and the actual file open, causing the write to follow the symlink to an arbitrary destination. Version 0.47.2 fixes the issue.
Metrics
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:L
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Kovidgoyal | Kitty | < 0.47.2 |
References
- https://github.com/kovidgoyal/kitty/security/advisories/GHSA-q446-x7q6-vcxhMitigation, Vendor Advisory
- https://github.com/kovidgoyal/kitty/security/advisories/GHSA-q446-x7q6-vcxhMitigation, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-54055?
How severe is CVE-2026-54055?
How do I fix CVE-2026-54055?
Are you affected by CVE-2026-54055?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
