Impact
The vulnerability allows a local user to read secrets typed into prompts displayed by kitty. A parameter in the askpass escape code directs kitty to open a POSIX shared memory object specified in the escape code. Because kitty does not verify ownership or permissions of that object, a second user can create an object that the victim’s kitty will open and later read from. This permits retrieval of passwords or other sensitive strings without requiring any privilege escalation.
Affected Systems
The flaw exists in Kovid Goyal’s kitty terminal emulator in versions released before 0.49.0, particularly 0.25.0 through 0.48.x. Any system running an affected version on a POSIX file system where multiple users share the same /dev/shm namespace is vulnerable.
Risk and Exploitability
The CVSS base score of 5.6 indicates a moderate impact. The EPSS score is not available, but the attack requires a local user who can influence the victim’s terminal output and create a shared memory object with permissive permissions. Because the vulnerability does not require elevated privileges, it is potentially exploitable by any co‑resident user in a shared namespace. The fix is provided in kitty 0.49.0 and later, and the vulnerability is not yet listed in CISA’s KEV catalog.
OpenCVE Enrichment