CVE-2026-42850

NameCVE-2026-42850
DescriptionKitty 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.
SourceCVE (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 Bugs1139898

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
kitty (PTS)bullseye0.19.3-1vulnerable
bullseye (security)0.19.3-1+deb11u1vulnerable
bookworm0.26.5-5vulnerable
trixie0.41.1-2vulnerable
trixie (security)0.41.1-2+deb13u1vulnerable
forky, sid0.47.0-3vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
kittysource(unstable)(unfixed)1139898

Notes

https://github.com/kovidgoyal/kitty/security/advisories/GHSA-p64q-59hq-5q65

Search for package or bug name: Reporting problems