{"id":"DEBIAN-CVE-2026-54055","details":"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.","modified":"2026-09-14T17:03:19.389573678Z","published":"2026-06-12T20:16:47.450Z","upstream":["CVE-2026-54055"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-54055"}],"affected":[{"package":{"name":"kitty","ecosystem":"Debian:12","purl":"pkg:deb/debian/kitty?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.26.5-5","0.30.1-1","0.31.0-1","0.31.0-2","0.31.0-3","0.31.0-4","0.32.0-1","0.32.1-1","0.32.2-1","0.33.0-2","0.33.1-1","0.34.1-1","0.35.1-1","0.35.2-1","0.36.1-1","0.36.4-1","0.36.4-2","0.36.4-3","0.37.0-1","0.38.1-1","0.39.0-1","0.39.1-1","0.40.0-1","0.41.1-1","0.41.1-2","0.42.1-1","0.42.2-1","0.43.1-1","0.44.0-1","0.45.0-1","0.45.0-2","0.46.1-1","0.46.2-1","0.47.0-1","0.47.0-2","0.47.0-3","0.47.3-1","0.47.4-1","0.48.2-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-54055.json"}},{"package":{"name":"kitty","ecosystem":"Debian:13","purl":"pkg:deb/debian/kitty?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.41.1-2+deb13u2"}]}],"versions":["0.41.1-2","0.41.1-2+deb13u1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-54055.json"}},{"package":{"name":"kitty","ecosystem":"Debian:14","purl":"pkg:deb/debian/kitty?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.47.3-1"}]}],"versions":["0.41.1-2","0.42.1-1","0.42.2-1","0.43.1-1","0.44.0-1","0.45.0-1","0.45.0-2","0.46.1-1","0.46.2-1","0.47.0-1","0.47.0-2","0.47.0-3"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-54055.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:L"}]}