CVE-2026-54055: kovidgoyal kitty Link Following
Vulnerability summary
CVE-2026-54055 is a medium (CVSS 5.0) Link Following vulnerability in kovidgoyal kitty. EPSS estimates a 0.10% chance of exploitation in the next 30 days, higher than 0.6% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 1 · Related 1Timeline
- 12-06-2026PublishedVulnerability first disclosed.
- 15-06-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated5.0MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:L
- OSV · DebianEcosystem advisory · calculated5.0MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:L
- NVDNIST5.0MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:L
EPSS trend
Probability
0.10%
Chance of exploitation in the next 30 days
Percentile
1%
Versus all other CVEs
30-day change
+0.02 pp
From 0.07% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-59Improper Link Resolution Before File Access ('Link Following')The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.
- CWE-367Time-of-check Time-of-use (TOCTOU) Race ConditionThe product checks the state of a resource before using that resource, but the resource's state can change between the check and the use in a way that invalidates the results of the check.
- CWE-426Untrusted Search PathThe product searches for critical resources using an externally-supplied search path that can point to resources that are not under the product's direct control.
Affected systems
Debian1 product
- kittyAll versions (No fix recorded) | < 0.41.1-2+deb13u2 | < 0.47.3-1
Kovidgoyal1 product
- kitty< 0.47.2
Ubuntu1 product
- kitty< 0.32.2-1ubuntu0.4+esm2 | All versions (No fix recorded) | < 0.45.0-1ubuntu0.1~esm2
3 vendors · 3 products
References
5 links- github.com/kovidgoyal/kitty/security/advisories/GHSA-q446-x7q6-vcxhX Refsource CONFIRMREPORTMitigationVendor Advisory