cvedb.io
CVE-2026-42850
HIGH · CVSS 8.8
EPSS exploitation probability: 0%
Published 2026-06-12T20:16:45.283 · Last modified 2026-06-17T10:48:30.447

Summary

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.

Affected products

kovidgoyal — kitty

Does this affect you?

Add your gear to cvedb and we'll alert you only when kovidgoyal ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.