CVE-2026-42851
Last modified
CVE-2026-42851 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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. EPSS estimates a 0.16% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Kovidgoyal | Kitty | < 0.47.0 |
References
- https://github.com/kovidgoyal/kitty/security/advisories/GHSA-w98g-hpvr-r332Exploit, Mitigation, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-42851?
How severe is CVE-2026-42851?
How do I fix CVE-2026-42851?
Are you affected by CVE-2026-42851?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
