PatchSiren cyber security CVE debrief
CVE-2026-42850 kovidgoyal CVE debrief
CVE-2026-42850 is a command injection vulnerability in Kitty, a cross-platform GPU-based terminal. Versions prior to 0.47.0 are affected. An attacker can inject commands within the subshell through a special escape code that makes Kitty return an error. This error is not escaped and will be echoed back to the terminal with CRLF, allowing it to be run by the shell in use. To exploit this vulnerability, a victim must use a netcat or similar program to connect to the attacker or listen for incoming connections. Once this condition is set, an attacker could potentially take control of the victim's computer using a special Kitty escape code that runs a command in the shell in use. The vulnerability has a CVSS score of 7.4 and is classified as HIGH severity.
- Vendor
- kovidgoyal
- Product
- kitty
- CVSS
- HIGH 7.4
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-06-12
- Original CVE updated
- 2026-06-16
- Advisory published
- 2026-06-12
- Advisory updated
- 2026-06-16
Who should care
Users of Kitty terminal versions prior to 0.47.0 should update to version 0.47.0 or later to mitigate this vulnerability. Additionally, administrators and security teams should be aware of the potential risks associated with this vulnerability and take steps to protect their systems.
Technical summary
The vulnerability exists due to Kitty's handling of a special escape code that returns an error. This error is not properly escaped and can be used to inject commands into the subshell. An attacker can exploit this vulnerability by having a victim connect to them using netcat or a similar program, and then using a special Kitty escape code to run a command in the shell in use.
Defensive priority
HIGH
Recommended defensive actions
- Update Kitty to version 0.47.0 or later.
- Use secure communication protocols to protect against exploitation.
- Monitor systems for suspicious activity.
Evidence notes
CVE-2026-42850 has been documented in the official CVE record [cve-org] and the National Vulnerability Database [nvd]. Additional information can be found in the security advisory [ref-4].
Sources and references
Verified primary and authoritative sources
-
CVE-2026-42850 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-42850
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-42850 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-42850
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://github.com/kovidgoyal/kitty/security/advisories/GHSA-p64q-59hq-5q65
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.