CVE-2026-95832 Reflected unknown field names in the kitty colour control escape code allow command execution in the user's shell
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- UbuntuDebianRed Hat
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.
Upgrade path
8 packages: 1 fixed, 7 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/kitty(Debian 12) | = 0.26.5-5; = 0.30.1-1; = 0.31.0-1; = 0.31.0-2 +37 more | No fix listed | No fix yet |
| debian/kitty(Debian 13) | = 0.41.1-2; = 0.41.1-2+deb13u1; = 0.41.1-2+deb13u2; = 0.42.1-1 +15 more | No fix listed | No fix yet |
| debian/kitty(Debian 14) | = 0.41.1-2; = 0.42.1-1; = 0.42.2-1; = 0.43.1-1 +13 more | No fix listed | No fix yet |
| ubuntu/kitty(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/kitty(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/kitty(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/kitty(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| Kovid Goyal kitty | >= 0.47.3, < 0.49.0 | 0.49.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Kovid Goyal kitty | >= 0.47.3, < 0.49.0 | 0.49.0 |
| debian/kitty(Debian:12) | All versions | No fix listed |
| debian/kitty(Debian:12) | = 0.26.5-5 | No fix listed |
| debian/kitty(Debian:12) | = 0.30.1-1 | No fix listed |
| debian/kitty(Debian:12) | = 0.31.0-1 | No fix listed |
| debian/kitty(Debian:12) | = 0.31.0-2 | No fix listed |
| debian/kitty(Debian:12) | = 0.31.0-3 | No fix listed |
| debian/kitty(Debian:12) | = 0.31.0-4 | No fix listed |
| debian/kitty(Debian:12) | = 0.32.0-1 | No fix listed |
| debian/kitty(Debian:12) | = 0.32.1-1 | No fix listed |
| debian/kitty(Debian:12) | = 0.32.2-1 | No fix listed |
| debian/kitty(Debian:12) | = 0.33.0-2 | No fix listed |
| debian/kitty(Debian:12) | = 0.33.1-1 | No fix listed |
| debian/kitty(Debian:12) | = 0.34.1-1 | No fix listed |
| debian/kitty(Debian:12) | = 0.35.1-1 | No fix listed |
| debian/kitty(Debian:12) | = 0.35.2-1 | No fix listed |
| debian/kitty(Debian:12) | = 0.36.1-1 | No fix listed |
| debian/kitty(Debian:12) | = 0.36.4-1 | No fix listed |
| debian/kitty(Debian:12) | = 0.36.4-2 | No fix listed |
| debian/kitty(Debian:12) | = 0.36.4-3 | No fix listed |
| debian/kitty(Debian:12) | = 0.37.0-1 | No fix listed |
| debian/kitty(Debian:12) | = 0.38.1-1 | No fix listed |
| debian/kitty(Debian:12) | = 0.39.0-1 | No fix listed |
| debian/kitty(Debian:12) | = 0.39.1-1 | No fix listed |
| debian/kitty(Debian:12) | = 0.40.0-1 | No fix listed |
Show 57 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/kitty(Debian:12) | = 0.41.1-1 | No fix listed |
| debian/kitty(Debian:12) | = 0.41.1-2 | No fix listed |
| debian/kitty(Debian:12) | = 0.42.1-1 | No fix listed |
| debian/kitty(Debian:12) | = 0.42.2-1 | No fix listed |
| debian/kitty(Debian:12) | = 0.43.1-1 | No fix listed |
| debian/kitty(Debian:12) | = 0.44.0-1 | No fix listed |
| debian/kitty(Debian:12) | = 0.45.0-1 | No fix listed |
| debian/kitty(Debian:12) | = 0.45.0-2 | No fix listed |
| debian/kitty(Debian:12) | = 0.46.1-1 | No fix listed |
| debian/kitty(Debian:12) | = 0.46.2-1 | No fix listed |
| debian/kitty(Debian:12) | = 0.47.0-1 | No fix listed |
| debian/kitty(Debian:12) | = 0.47.0-2 | No fix listed |
| debian/kitty(Debian:12) | = 0.47.0-3 | No fix listed |
| debian/kitty(Debian:12) | = 0.47.3-1 | No fix listed |
| debian/kitty(Debian:12) | = 0.47.4-1 | No fix listed |
| debian/kitty(Debian:12) | = 0.48.2-1 | No fix listed |
| debian/kitty(Debian:12) | = 0.48.2-1.1 | No fix listed |
| debian/kitty(Debian:13) | All versions | No fix listed |
| debian/kitty(Debian:13) | = 0.41.1-2 | No fix listed |
| debian/kitty(Debian:13) | = 0.41.1-2+deb13u1 | No fix listed |
| debian/kitty(Debian:13) | = 0.41.1-2+deb13u2 | No fix listed |
| debian/kitty(Debian:13) | = 0.42.1-1 | No fix listed |
| debian/kitty(Debian:13) | = 0.42.2-1 | No fix listed |
| debian/kitty(Debian:13) | = 0.43.1-1 | No fix listed |
| debian/kitty(Debian:13) | = 0.44.0-1 | No fix listed |
| debian/kitty(Debian:13) | = 0.45.0-1 | No fix listed |
| debian/kitty(Debian:13) | = 0.45.0-2 | No fix listed |
| debian/kitty(Debian:13) | = 0.46.1-1 | No fix listed |
| debian/kitty(Debian:13) | = 0.46.2-1 | No fix listed |
| debian/kitty(Debian:13) | = 0.47.0-1 | No fix listed |
| debian/kitty(Debian:13) | = 0.47.0-2 | No fix listed |
| debian/kitty(Debian:13) | = 0.47.0-3 | No fix listed |
| debian/kitty(Debian:13) | = 0.47.3-1 | No fix listed |
| debian/kitty(Debian:13) | = 0.47.4-1 | No fix listed |
| debian/kitty(Debian:13) | = 0.48.2-1 | No fix listed |
| debian/kitty(Debian:13) | = 0.48.2-1.1 | No fix listed |
| debian/kitty(Debian:14) | All versions | No fix listed |
| debian/kitty(Debian:14) | = 0.41.1-2 | No fix listed |
| debian/kitty(Debian:14) | = 0.42.1-1 | No fix listed |
| debian/kitty(Debian:14) | = 0.42.2-1 | No fix listed |
| debian/kitty(Debian:14) | = 0.43.1-1 | No fix listed |
| debian/kitty(Debian:14) | = 0.44.0-1 | No fix listed |
| debian/kitty(Debian:14) | = 0.45.0-1 | No fix listed |
| debian/kitty(Debian:14) | = 0.45.0-2 | No fix listed |
| debian/kitty(Debian:14) | = 0.46.1-1 | No fix listed |
| debian/kitty(Debian:14) | = 0.46.2-1 | No fix listed |
| debian/kitty(Debian:14) | = 0.47.0-1 | No fix listed |
| debian/kitty(Debian:14) | = 0.47.0-2 | No fix listed |
| debian/kitty(Debian:14) | = 0.47.0-3 | No fix listed |
| debian/kitty(Debian:14) | = 0.47.3-1 | No fix listed |
| debian/kitty(Debian:14) | = 0.47.4-1 | No fix listed |
| debian/kitty(Debian:14) | = 0.48.2-1 | No fix listed |
| debian/kitty(Debian:14) | = 0.48.2-1.1 | No fix listed |
| ubuntu/kitty(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/kitty(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/kitty(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/kitty(Ubuntu:26.10) | All versions | No fix listed |
References
- github.com patch
- github.com related
- github.com release-notes
- www.cve.org related
- secur0.com technical-description third-party-advisory
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2541404 issue-tracking
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-95832 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- bugs.debian.org issue-tracking
- ENISA EUVD EUVD-2026-87065 third-party-advisory