CVE-2026-95832
kitty: Reflected unknown field names in the kitty colour control escape code allow command execution in the user's shell
Severity
ImportantRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · September 25, 2026
Updated · November 4, 2026
Description
A flaw was found in kitty. This vulnerability allows an application writing output to the terminal to execute arbitrary commands in the user's shell. The issue occurs because the color control escape code handler echoes unrecognized field names back into the terminal's input stream without adequate sanitization. Consequently, the reflected data is processed by the shell as user input, allowing unauthorized command execution with the privileges of the active user.
Statement
This vulnerability is rated as Important because processing untrusted escape sequences can result in arbitrary command execution with the privileges of the active terminal user, requiring local interaction to display malicious data. The kitty terminal emulator is not packaged or shipped in Red Hat Enterprise Linux, and Red Hat products incorporating third-party Go ANSI helper libraries do not include the vulnerable terminal window handling code. Consequently, supported Red Hat enterprise environments are not directly affected by this issue.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 7.8CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CWE-78 · Improper Neutralization of Special Elements used in an OS Command