CVE-2026-54055
Kitty has an Arbitrary File Write via Symlink Race Condition in File Transmission Protocol
Reported by github_m · Published June 12, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kitty | kovidgoyal | 0.47.2 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| kovidgoyal | kitty | < 0.47.2 |
| kovidgoyal | kitty | 0 |
Timeline
- Jun 12, 2026 CVE Published
- Jun 13, 2026 Coalition ESS Score
- Jun 15, 2026 Security Advisory
- Jun 15, 2026 CVE Updated
- Jun 16, 2026 EPSS Score (3 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-54055
vulnetix vdb fixes CVE-2026-54055
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-54055/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/kovidgoyal/kitty/security/advisories/GHSA-q446-x7q6-vcxh x_refsource_CONFIRM