CVE-2026-54055

NameCVE-2026-54055
DescriptionKitty 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1139898

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
kitty (PTS)bullseye0.19.3-1vulnerable
bullseye (security)0.19.3-1+deb11u1vulnerable
bookworm0.26.5-5vulnerable
trixie0.41.1-2vulnerable
trixie (security)0.41.1-2+deb13u1vulnerable
forky, sid0.47.0-3vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
kittysource(unstable)(unfixed)1139898

Notes

https://github.com/kovidgoyal/kitty/security/advisories/GHSA-q446-x7q6-vcxh

Search for package or bug name: Reporting problems