CVE-2026-42851

Kitty is a cross-platform GPU based terminal. In versions prior to 0.47.0, a program able to write bytes to a kitty terminal — a remote SSH peer, a downloaded file viewed with `cat`, a log line, an email body rendered in `less`, an issue body in a TUI, etc. — can cause kitty to execute attacker-supplied Python inside the running kitty process, with the user's full privileges. There is no approval prompt, no remote-control permission requirement, no shell-integration interaction, no clipboard touch, and no editor interaction. Version 0.47.0 fixes the issue.
References
Link Resource
https://github.com/kovidgoyal/kitty/security/advisories/GHSA-w98g-hpvr-r332 Exploit Mitigation Vendor Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:a:kovidgoyal:kitty:*:*:*:*:*:*:*:*

History

16 Jun 2026, 16:07

Type Values Removed Values Added
References () https://github.com/kovidgoyal/kitty/security/advisories/GHSA-w98g-hpvr-r332 - () https://github.com/kovidgoyal/kitty/security/advisories/GHSA-w98g-hpvr-r332 - Exploit, Mitigation, Vendor Advisory
First Time Kovidgoyal kitty
Kovidgoyal
CPE cpe:2.3:a:kovidgoyal:kitty:*:*:*:*:*:*:*:*

16 Jun 2026, 15:16

Type Values Removed Values Added
References () https://github.com/kovidgoyal/kitty/security/advisories/GHSA-w98g-hpvr-r332 - () https://github.com/kovidgoyal/kitty/security/advisories/GHSA-w98g-hpvr-r332 -

15 Jun 2026, 16:16

Type Values Removed Values Added
References () https://github.com/kovidgoyal/kitty/security/advisories/GHSA-w98g-hpvr-r332 - () https://github.com/kovidgoyal/kitty/security/advisories/GHSA-w98g-hpvr-r332 -

12 Jun 2026, 20:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-06-12 20:16

Updated : 2026-06-17 10:48


NVD link : CVE-2026-42851

Mitre link : CVE-2026-42851

CVE.ORG link : CVE-2026-42851


JSON object : View

Products Affected

kovidgoyal

  • kitty
CWE
CWE-94

Improper Control of Generation of Code ('Code Injection')

CWE-862

Missing Authorization