CVE-2026-42850
highpriority · track · 35EPSS 0.003 · 21 %ileEUUSEPSS · scored 2026-10-27
Kitty is a cross-platform GPU based terminal. In versions prior to 0.47.0, it is possible to inject commands within the subshell through kitty error. A special escape code will make kitty return an error, this error is not escaped and will be correctly echoed back to the terminal with CRLF, as such it will be run by the shell in use. To exploit this bug, the victim must use a netcat or a similar program to connect to the attacker, or else listening for someone to connect. Once this condition is set, an attacker could pwn the computer of the victim using a special kitty's escape code that will run a command in the shell in use. Version 04.7.0 fixes the issue.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 4.5–8.8
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (2)
Products and version ranges known to be affected.
also known as (2)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (4)
External citations — patches, advisories, analysis.
- https://github.com/kovidgoyal/kitty/releasesPatchcnnvd
- https://github.com/kovidgoyal/kitty/security/advisories/GHSA-p64q-59hq-5q65cnnvd
- https://github.com/kovidgoyal/kitty/security/advisories/GHSA-p64q-59hq-5q65enisa_euvd
- https://github.com/kovidgoyal/kitty/security/advisories/GHSA-p64q-59hq-5q65ExploitVendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan