{"id":"CVE-2026-54055","published":"2026-06-12T20:03:17Z","modified":"2026-06-15T19:28:17Z","title":"Kitty has an Arbitrary File Write via Symlink Race Condition in File Transmission Protocol","vendor":"kovidgoyal","product":"kitty","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00072,"percentile":0.00048,"provenance":"source"},"cwes":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access"},{"id":"CWE-367","name":"Time-of-check Time-of-use (TOCTOU) Race Condition"},{"id":"CWE-426","name":"Untrusted Search Path"}],"references":[{"url":"https://github.com/kovidgoyal/kitty/security/advisories/GHSA-q446-x7q6-vcxh","tags":["x_refsource_CONFIRM"]}],"priority":{"score":3.5,"factors":[{"name":"EPSS percentile","points":0.01},{"name":"CVSS severity","points":3.5}]},"vendorSlug":"kovidgoyal","affectedVersions":[{"vendor":"kovidgoyal","product":"kitty","versions":["< 0.47.2"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-15T18:43:37.469547Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-36556","exploited":false,"provenance":"source"}}