CVE-2026-54055 Kitty has an Arbitrary File Write via Symlink Race Condition in File Transmission Protocol
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
6 packages: 5 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/kitty(Debian 12) | = 0.26.5-5; = 0.30.1-1; = 0.31.0-1; = 0.31.0-2 +37 more | No fix listed | No fix yet |
| debian/kitty(Debian 13) | < 0.41.1-2+deb13u2; = 0.41.1-2; = 0.41.1-2+deb13u1 | 0.41.1-2+deb13u2 | Fixed |
| debian/kitty(Debian 14) | < 0.47.3-1; = 0.41.1-2; = 0.42.1-1; = 0.42.2-1 +9 more | 0.47.3-1 | Fixed |
| kovidgoyal kitty | < 0.47.2; = < 0.47.2 | 0.47.2 | Fixed |
| ubuntu/kitty(Ubuntu 24.04) | < 0.32.2-1ubuntu0.4+esm2 | 0.32.2-1ubuntu0.4+esm2 | Fixed |
| ubuntu/kitty(Ubuntu 26.04) | < 0.45.0-1ubuntu0.1~esm2 | 0.45.0-1ubuntu0.1~esm2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| kovidgoyal kitty | = < 0.47.2 | No fix listed |
| debian/kitty(Debian:12) | All versions | No fix listed |
| debian/kitty(Debian:12) | = 0.26.5-5 | No fix listed |
| debian/kitty(Debian:12) | = 0.30.1-1 | No fix listed |
| debian/kitty(Debian:12) | = 0.31.0-1 | No fix listed |
| debian/kitty(Debian:12) | = 0.31.0-2 | No fix listed |
| debian/kitty(Debian:12) | = 0.31.0-3 | No fix listed |
| debian/kitty(Debian:12) | = 0.31.0-4 | No fix listed |
| debian/kitty(Debian:12) | = 0.32.0-1 | No fix listed |
| debian/kitty(Debian:12) | = 0.32.1-1 | No fix listed |
| debian/kitty(Debian:12) | = 0.32.2-1 | No fix listed |
| debian/kitty(Debian:12) | = 0.33.0-2 | No fix listed |
| debian/kitty(Debian:12) | = 0.33.1-1 | No fix listed |
| debian/kitty(Debian:12) | = 0.34.1-1 | No fix listed |
| debian/kitty(Debian:12) | = 0.35.1-1 | No fix listed |
| debian/kitty(Debian:12) | = 0.35.2-1 | No fix listed |
| debian/kitty(Debian:12) | = 0.36.1-1 | No fix listed |
| debian/kitty(Debian:12) | = 0.36.4-1 | No fix listed |
| debian/kitty(Debian:12) | = 0.36.4-2 | No fix listed |
| debian/kitty(Debian:12) | = 0.36.4-3 | No fix listed |
| debian/kitty(Debian:12) | = 0.37.0-1 | No fix listed |
| debian/kitty(Debian:12) | = 0.38.1-1 | No fix listed |
| debian/kitty(Debian:12) | = 0.39.0-1 | No fix listed |
| debian/kitty(Debian:12) | = 0.39.1-1 | No fix listed |
| debian/kitty(Debian:12) | = 0.40.0-1 | No fix listed |
Show 36 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/kitty(Debian:12) | = 0.41.1-1 | No fix listed |
| debian/kitty(Debian:12) | = 0.41.1-2 | No fix listed |
| debian/kitty(Debian:12) | = 0.42.1-1 | No fix listed |
| debian/kitty(Debian:12) | = 0.42.2-1 | No fix listed |
| debian/kitty(Debian:12) | = 0.43.1-1 | No fix listed |
| debian/kitty(Debian:12) | = 0.44.0-1 | No fix listed |
| debian/kitty(Debian:12) | = 0.45.0-1 | No fix listed |
| debian/kitty(Debian:12) | = 0.45.0-2 | No fix listed |
| debian/kitty(Debian:12) | = 0.46.1-1 | No fix listed |
| debian/kitty(Debian:12) | = 0.46.2-1 | No fix listed |
| debian/kitty(Debian:12) | = 0.47.0-1 | No fix listed |
| debian/kitty(Debian:12) | = 0.47.0-2 | No fix listed |
| debian/kitty(Debian:12) | = 0.47.0-3 | No fix listed |
| debian/kitty(Debian:12) | = 0.47.3-1 | No fix listed |
| debian/kitty(Debian:12) | = 0.47.4-1 | No fix listed |
| debian/kitty(Debian:12) | = 0.48.2-1 | No fix listed |
| debian/kitty(Debian:12) | = 0.48.2-1.1 | No fix listed |
| debian/kitty(Debian:13) | < 0.41.1-2+deb13u2 | 0.41.1-2+deb13u2 |
| debian/kitty(Debian:13) | = 0.41.1-2 | No fix listed |
| debian/kitty(Debian:13) | = 0.41.1-2+deb13u1 | No fix listed |
| debian/kitty(Debian:14) | < 0.47.3-1 | 0.47.3-1 |
| debian/kitty(Debian:14) | = 0.41.1-2 | No fix listed |
| debian/kitty(Debian:14) | = 0.42.1-1 | No fix listed |
| debian/kitty(Debian:14) | = 0.42.2-1 | No fix listed |
| debian/kitty(Debian:14) | = 0.43.1-1 | No fix listed |
| debian/kitty(Debian:14) | = 0.44.0-1 | No fix listed |
| debian/kitty(Debian:14) | = 0.45.0-1 | No fix listed |
| debian/kitty(Debian:14) | = 0.45.0-2 | No fix listed |
| debian/kitty(Debian:14) | = 0.46.1-1 | No fix listed |
| debian/kitty(Debian:14) | = 0.46.2-1 | No fix listed |
| debian/kitty(Debian:14) | = 0.47.0-1 | No fix listed |
| debian/kitty(Debian:14) | = 0.47.0-2 | No fix listed |
| debian/kitty(Debian:14) | = 0.47.0-3 | No fix listed |
| ubuntu/kitty(Ubuntu:24.04) | < 0.32.2-1ubuntu0.4+esm2 | 0.32.2-1ubuntu0.4+esm2 |
| ubuntu/kitty(Ubuntu:26.04) | < 0.45.0-1ubuntu0.1~esm2 | 0.45.0-1ubuntu0.1~esm2 |
| kovidgoyal kitty | < 0.47.2 | 0.47.2 |
References
- https://github.com/kovidgoyal/kitty/security/advisories/GHSA-q446-x7q6-vcxh exploit mitigation vendor-advisory
- Debian Security Tracker CVE-2026-54055 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-8763-1 vendor-advisory
- www.cve.org
- bugs.debian.org issue-tracking