CVE-2026-42850
Reported by GitHub_M · Published June 12, 2026
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.
Risk Scores
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| kovidgoyal | kitty | < 0.47.0 |
| kovidgoyal | kitty | < 0.47.0, < 0.47.0, < 0.47.0 |
Timeline
- Jun 12, 2026 CVE Published
- Jun 13, 2026 Coalition ESS Score
- Jun 15, 2026 Security Advisory
- Jun 16, 2026 EPSS Score
- Aug 7, 2026 EPSS Score
- Aug 24, 2026 EPSS Score
- Aug 28, 2026 EPSS Score
- Sep 4, 2026 EPSS Score
- Sep 9, 2026 EPSS Score
- Sep 12, 2026 EPSS Score
- Sep 16, 2026 EPSS Score
- Sep 18, 2026 EPSS Score
References
- https://github.com/kovidgoyal/kitty/security/advisories/GHSA-p64q-59hq-5q65 x_refsource_CONFIRM