CVE-2026-42850

Kitty 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.
References
Configurations

Configuration 1 (hide)

cpe:2.3:a:kovidgoyal:kitty:*:*:*:*:*:*:*:*

History

26 Oct 2026, 11:10

Type Values Removed Values Added
Summary
  • (es) Kitty es una terminal multiplataforma basada en GPU. En versiones anteriores a la 0.47.0, es posible inyectar comandos dentro de la subshell a través de un error de kitty. Un código de escape especial hará que kitty devuelva un error; este error no se escapa y se devolverá correctamente a la terminal con CRLF, por lo que será ejecutado por la shell en uso. Para explotar este bug, la víctima debe usar netcat o un programa similar para conectarse al atacante, o bien estar a la escucha de que alguien se conecte. Una vez establecida esta condición, un atacante podría pwnear el ordenador de la víctima usando un código de escape especial de kitty que ejecutará un comando en la shell en uso. La versión 0.47.0 soluciona el problema.

Information

Published : 2026-06-12 20:16

Updated : 2026-10-26 11:10


NVD link : CVE-2026-42850

Mitre link : CVE-2026-42850

CVE.ORG link : CVE-2026-42850


JSON object : View

Products Affected

kovidgoyal

  • kitty
CWE
CWE-77

Improper Neutralization of Special Elements used in a Command ('Command Injection')