CVE-2026-42851
JSON

7.8high

@kitty-edit DCS + --color=geninclude vulnerable to Unauthenticated in-process RCE

Severity
7.8high CVSS:3.1 by GitHub_M
Exploit likelihood
0.16% (higher than 5% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

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.

Affected

Product or packageVersionsReported by
kovidgoyal kitty< 0.47.0, before 0.47.0CVE List, NVD

Classification

CWE-94CWE-862

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

Kitty es un terminal multiplataforma basado en GPU. En versiones anteriores a la 0.47.0, un programa capaz de escribir bytes en un terminal kitty - un par SSH remoto, un archivo descargado visto con ’cat’, una línea de registro, un cuerpo de correo electrónico renderizado en ’less’, un cuerpo de incidencia en una TUI, etc. - puede hacer que kitty ejecute Python suministrado por el atacante dentro del proceso kitty en ejecución, con los privilegios completos del usuario. No hay solicitud de aprobación, ningún requisito de permiso de control remoto, ninguna interacción de integración de shell, ningún acceso al portapapeles y ninguna interacción con el editor. La versión 0.47.0 corrige el problema.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-42851 changed 2026-06-16CVE Terms of Use
NVDCVE-2026-42851 changed 2026-10-26Public domain