| Name | CVE-2026-42851 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| Debian Bugs | 1139898 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| kitty (PTS) | bullseye | 0.19.3-1 | vulnerable |
| bullseye (security) | 0.19.3-1+deb11u1 | vulnerable | |
| bookworm | 0.26.5-5 | vulnerable | |
| trixie | 0.41.1-2 | vulnerable | |
| trixie (security) | 0.41.1-2+deb13u1 | vulnerable | |
| forky, sid | 0.47.0-3 | vulnerable |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| kitty | source | (unstable) | (unfixed) | 1139898 |
https://github.com/kovidgoyal/kitty/security/advisories/GHSA-w98g-hpvr-r332