Home

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.

PUBLISHED Reserved 2026-04-30 | Published 2026-06-12 | Updated 2026-06-12 | Assigner GitHub_M




HIGH: 7.8CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Problem types

CWE-94: Improper Control of Generation of Code ('Code Injection')

CWE-862: Missing Authorization

Product status

< 0.47.0
affected

References

github.com/.../kitty/security/advisories/GHSA-w98g-hpvr-r332

cve.org (CVE-2026-42851)

nvd.nist.gov (CVE-2026-42851)

Download JSON