PT-2026-48969 · Kitty · Kitty
CVE-2026-54055
·
Published
2026-06-12
·
Updated
2026-06-16
CVSS v3.1
5.0
Medium
| Vector | AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:L |
Name of the Vulnerable Software and Affected Versions
Kitty versions prior to 0.47.2
Description
A local privilege escalation exists in the file transmission protocol. 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—a scenario where a system checks a condition (like a file's status) and then uses the result, but the condition changes between the check and the use. Specifically, the
os.open() function used to create files does not use the O NOFOLLOW flag, which prevents the system from following symbolic links. This allows an attacker to create a symlink between the initial status check and the actual file opening, directing the write operation to an arbitrary destination.Recommendations
Update to version 0.47.2.
Exploit
Fix
LPE
Untrusted Search Path
Time Of Check To Time Of Use
Link Following
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Kitty