Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-95832

CRITICAL 9.3EPSS 7%

Reflected unknown field names in the kitty colour control escape code allow command execution in the user's shell

Mitigation

  • Upgrade kitty to 0.49.0 or later.

Who should check

  • Anyone running Kovid Goyal kitty >= 0.47.3, < 0.49.0

Vulnerability facts

Affected
Kovid Goyal kitty >= 0.47.3, < 0.49.0
Fixed in
Kovid Goyal kitty 0.49.0
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
9.3 (v4.0, CNA)CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:HOpen in CVSS calculator
Show all 11 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Attack requirements: None
  • Privileges required: None
  • User interaction: Passive
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
  • Confidentiality impact on other systems: High
  • Integrity impact on other systems: High
  • Availability impact on other systems: High
EPSS
0.21% chance of exploitation in 30 days (percentile 7, 2026-11-26)
CWE
CWE-74
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Kovid Goyal kitty>= 0.47.3, < 0.49.0—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-95832. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-95832.md
Affected: Kovid Goyal kitty >= 0.47.3, < 0.49.0
Fixed in: Kovid Goyal kitty 0.49.0

Steps:
1. Search this machine and project for Kovid Goyal kitty: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-95832 being exploited?

There is no confirmed exploitation: CVE-2026-95832 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-95832?

Critical: CVSS 9.3 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.

Which versions are affected by CVE-2026-95832?

Kovid Goyal kitty >= 0.47.3, < 0.49.0.

Is there a fix for CVE-2026-95832?

Yes. Fixed in Kovid Goyal kitty 0.49.0. Upgrade kitty to 0.49.0 or later.

How do I check if I'm affected by CVE-2026-95832?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors