{"id":"CVE-2026-54055","url":"https://www.cyber-defence.io/tools/cve/CVE-2026-54055","generatedAt":"2026-10-28T03:27:20.671Z","title":"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…","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.","published":"2026-06-12T20:16:47.000Z","lastModified":"2026-10-26T11:10:00.000Z","status":"Analyzed","sourceIdentifier":"security-advisories@github.com","cvss":{"version":"3.1","score":5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:L"},"cwe":["CWE-59","CWE-367","CWE-426"],"affected":["kovidgoyal/kitty"],"epss":{"score":0.00072,"percentile":0.00048,"date":"2026-10-26","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"low","text":"Lower severity and a low EPSS score (0.07%). Track it; it rarely justifies an emergency change on its own."},"changes":[],"references":[{"url":"https://github.com/kovidgoyal/kitty/security/advisories/GHSA-q446-x7q6-vcxh","tags":["Mitigation","Vendor Advisory"],"source":"security-advisories@github.com"},{"url":"https://github.com/kovidgoyal/kitty/security/advisories/GHSA-q446-x7q6-vcxh","tags":["Mitigation","Vendor Advisory"],"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-54055","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}