← Vulnerability feed

Vulnerability record · CVE-2026-42850 · published 12 June 2026

CVE-2026-42850: Kovidgoyal kitty command injection vulnerability

Kovidgoyal · Kitty

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.

7.4 CVSS 4.0 High EPSS 0.41% · top 67.7% CWE-77 · Command injection
7.4CVSS 4.0 base score
0.41%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
1References, 1 tagged exploit
17 Jun 2026Last modified by NVD

Description

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.

CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2026-42850 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2026-33642Kovidgoyal kitty out-of-bounds read vulnerabilityKitty is a cross-platform GPU based terminal. In versions 0.46.2 and below, the handle_compose_command() function in kitty/graphics.c performs bounds…EPSS 0.43%9.8CVE-2020-35605Kovidgoyal kitty vulnerabilityThe Graphics Protocol feature in graphics.c in kitty before 0.19.3 allows remote attackers to execute arbitrary code because a filename containing sp…EPSS 3.8%8.8CVE-2026-33633Kovidgoyal kitty heap-based buffer overflow vulnerabilityKitty is a cross-platform GPU based terminal. Versions 0.46.2 and below contain a heap buffer overflow in load_image_data() that allows any process w…EPSS 0.46%7.8CVE-2026-42851Kovidgoyal kitty code injection vulnerabilityKitty 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 d…EPSS 0.19%7.8CVE-2025-43929Kovidgoyal kitty origin validation error vulnerabilityopen_actions.py in kitty before 0.41.0 does not ask for user confirmation before running a local executable file that may have been linked from an un…EPSS 0.19%7.3CVE-2026-54057Kovidgoyal kitty code injection vulnerabilityKitty is a cross-platform GPU based terminal. In versions prior to 0.47.3, kitty's OSC 21 (color-control) query reply reflects attacker-controlled by…EPSS 0.20%7.1CVE-2026-54056Kovidgoyal kitty link following vulnerabilityKitty is a cross-platform GPU based terminal. In versions 0.47.0 and 0.47.1, `kitten dnd` can allow a malicious remote drag-and-drop source to overwr…EPSS 0.38%5.0CVE-2026-54055Kovidgoyal kitty link following vulnerabilityKitty is a cross-platform GPU based terminal. In versions prior to 0.47.2, a local privilege escalation vulnerability exists in kitty's file transmis…EPSS 0.10%

Source: NIST National Vulnerability Database (record CVE-2026-42850), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.