CVE-2026-95835
Last modified
CVE-2026-95835 is a medium-severity vulnerability rated 5.6/10 on the CVSS scale. Missing Authorization in the askpass escape code handler in kitty from 0.25.0 before 0.49.0 allows a local user other than the one running the terminal to obtain the text typed into a prompt that kitty itself displays, because handle_remote_askpass() in kitty/window.py opens the POSIX shared memory object named in the escape code, parses a prompt definition out of it, and writes the user's answer back into an object of that same name, without at any point checking that the object is owned by the user running kitty or that its permissions exclude other users. The equivalent consumer of the same SharedMemory class in the ssh kitten performs exactly that check; the askpass path did not.
Description
Missing Authorization in the askpass escape code handler in kitty from 0.25.0 before 0.49.0 allows a local user other than the one running the terminal to obtain the text typed into a prompt that kitty itself displays, because handle_remote_askpass() in kitty/window.py opens the POSIX shared memory object named in the escape code, parses a prompt definition out of it, and writes the user's answer back into an object of that same name, without at any point checking that the object is owned by the user running kitty or that its permissions exclude other users. The equivalent consumer of the same SharedMemory class in the ssh kitten performs exactly that check; the askpass path did not. The handler is reached through a device control string processed from the byte stream of the window, so the attacker must also cause bytes of their choosing to be displayed by the victim's terminal. Where the POSIX shared memory namespace is shared between the two users, a second local user can create an object with permissions that allow the victim to read and write it, cause the victim's kitty to render a prompt of the attacker's choosing, including a masked password prompt, and read the typed secret back out of the object afterwards. The prompt text is additionally passed to the display without control character sanitisation, so it can overwrite the warning line kitty prints above it. The answer is written by reopening an object of that name when the user answers, rather than through the handle already held. This results in disclosure of a secret typed by the victim to a second local user, and does not require any privilege on the victim's account.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Kovid Goyal | kitty | >= 0.25.0, < 0.49.0 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-95835?
How severe is CVE-2026-95835?
How do I fix CVE-2026-95835?
How Strix Helps
- Uncovering a hidden BOLA in Appsmith's snapshot logicStrix autonomously discovered a BOLA/IDOR vulnerability in Appsmith's snapshot deletion path.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-9583A weakness has been identified in SourceCodester CET Automat…4.3
- CVE-2026-95830A security flaw has been discovered in theRealSain Pixtream …6.3
- CVE-2026-95831Crypt::SelfCertificate versions from 1.01 through 1.05 for P…7.8
- CVE-2026-95832Improper Neutralization of Special Elements in Output Used b…9.3
- CVE-2026-95833A weakness has been identified in itsourcecode Leave Managem…6.3
- CVE-2026-95834Use After Free in the drag source path of the drag and drop …4.6
- CVE-2026-9584A security vulnerability has been detected in code-projects …7.3
- CVE-2026-95842Moquette is a lightweight Java MQTT broker. Prior to 0.18.1,…7.5
- CVE-2026-95843Moquette is a lightweight Java MQTT broker. Prior to 0.18.1,…7.5
- CVE-2026-95844Moquette is a lightweight Java MQTT broker. Prior to 0.18.1,…8.7
- CVE-2026-95845Moquette is a lightweight Java MQTT broker. Prior to 0.18.1,…7.5
- CVE-2026-95846Moquette is a lightweight Java MQTT broker. Prior to 0.18.1,…7.5
Are you affected by CVE-2026-95835?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
