CVE-2026-54055
published medium CVSS 3.1 · 5.0Kitty has an Arbitrary File Write via Symlink Race Condition in File Transmission Protocol
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| kovidgoyal | — | kitty< 0.47.2 | Affected | Not stated | GitHub_M |
| Debian | bookworm | kitty | Advisory build | 0.26.5-5+deb12u1 | DLA-4928-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kittyaarch64 | Advisory build | 0.51.1-1.1 | OPENSUSE-SU-2026:12663-1 |
| Ubuntu | noble | kitty | Advisory build | 0.32.2-1ubuntu0.4+esm2 | USN-8763-1 |
| Debian | trixie | kitty | Advisory build | 0.41.1-2+deb13u2 | DSA-6423-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kittyppc64le | Advisory build | 0.51.1-1.1 | OPENSUSE-SU-2026:12663-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kittys390x | Advisory build | 0.51.1-1.1 | OPENSUSE-SU-2026:12663-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kittyx86_64 | Advisory build | 0.51.1-1.1 | OPENSUSE-SU-2026:12663-1 |
Show 13 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | resolute | kitty | Advisory build | 0.45.0-1ubuntu0.1~esm2 | USN-8763-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kitty-shell-integrationaarch64 | Advisory build | 0.51.1-1.1 | OPENSUSE-SU-2026:12663-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kitty-shell-integrationppc64le | Advisory build | 0.51.1-1.1 | OPENSUSE-SU-2026:12663-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kitty-shell-integrations390x | Advisory build | 0.51.1-1.1 | OPENSUSE-SU-2026:12663-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kitty-shell-integrationx86_64 | Advisory build | 0.51.1-1.1 | OPENSUSE-SU-2026:12663-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kitty-terminfoaarch64 | Advisory build | 0.51.1-1.1 | OPENSUSE-SU-2026:12663-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kitty-terminfoppc64le | Advisory build | 0.51.1-1.1 | OPENSUSE-SU-2026:12663-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kitty-terminfos390x | Advisory build | 0.51.1-1.1 | OPENSUSE-SU-2026:12663-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kitty-terminfox86_64 | Advisory build | 0.51.1-1.1 | OPENSUSE-SU-2026:12663-1 |
| Ubuntu | noble | kitty-shell-integration | Advisory build | 0.32.2-1ubuntu0.4+esm2 | USN-8763-1 |
| Ubuntu | noble | kitty-terminfo | Advisory build | 0.32.2-1ubuntu0.4+esm2 | USN-8763-1 |
| Ubuntu | resolute | kitty-shell-integration | Advisory build | 0.45.0-1ubuntu0.1~esm2 | USN-8763-1 |
| Ubuntu | resolute | kitty-terminfo | Advisory build | 0.45.0-1ubuntu0.1~esm2 | USN-8763-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.0 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| kovidgoyal | kitty | < 0.47.2 (affected) | GitHub_M · cna |
Weaknesses
3- CWE-59 CWE-59: Improper Link Resolution Before File Access ('Link Following')
- CWE-367 CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition
- CWE-426 CWE-426: Untrusted Search Path
References
1Provider assertions
2GitHub_M · cna
Kitty has an Arbitrary File Write via Symlink Race Condition in File Transmission Protocol
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a281215bd247a2f758f47f0edc8859e35fab723c965c8b576998cf948fa8b620
- Ingested
- 23 Sep 2026, 09:20:18 UTC
- Source record
- Official CVE record