CVE-2026-95832
Last modified
CVE-2026-95832 is a critical-severity vulnerability rated 9.3/10 on the CVSS scale. Improper Neutralization of Special Elements in Output Used by a Downstream Component in the colour control escape code handler in kitty from 0.47.3 before 0.49.0 allows a program writing to the terminal to execute an arbitrary command in the user's shell, because color_control() in kitty/window.py answers a query for an unrecognised field name by placing that field name into the reply, and write_escape_code_to_child() in kitty/screen.c then writes the reply to the pseudoterminal master, where it is not distinguishable from input typed by the user, without neutralising it for the shell that reads it. The payload is reduced to printable ASCII before the field name is echoed, which is the restriction introduced in 0.47.3 as the fix for CVE-2026-54057, and the record and field separators ; and = are consumed as delimiters, but every other printable character survives, which is sufficient to compose a shell command.
Description
Improper Neutralization of Special Elements in Output Used by a Downstream Component in the colour control escape code handler in kitty from 0.47.3 before 0.49.0 allows a program writing to the terminal to execute an arbitrary command in the user's shell, because color_control() in kitty/window.py answers a query for an unrecognised field name by placing that field name into the reply, and write_escape_code_to_child() in kitty/screen.c then writes the reply to the pseudoterminal master, where it is not distinguishable from input typed by the user, without neutralising it for the shell that reads it. The payload is reduced to printable ASCII before the field name is echoed, which is the restriction introduced in 0.47.3 as the fix for CVE-2026-54057, and the record and field separators ; and = are consumed as delimiters, but every other printable character survives, which is sufficient to compose a shell command. A newline is available from handle_remote_ssh() in kitty/window.py, which writes the bytes yielded by get_ssh_data() in kittens/ssh/utils.py, the first of which begin with a newline, to the pseudoterminal master before any credential carried in the request is checked. The reply is framed as an OSC sequence carrying the escape code number, the field name, and the literal value ?. This results in execution of an attacker-chosen command with the privileges of the user running the terminal.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Kovid Goyal | kitty | >= 0.47.3, < 0.49.0 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-95832?
How severe is CVE-2026-95832?
How do I fix CVE-2026-95832?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- 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-95820A vulnerability was found in anirbandutta9 College-Notes-Gal…6.3
- CVE-2026-95828A vulnerability was determined in Mstfakts College-Managemen…4.3
- CVE-2026-95829A vulnerability was identified in TDuckCloud tduck-platform …6.3
- 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-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-95835Missing Authorization in the askpass escape code handler in …5.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
Are you affected by CVE-2026-95832?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
