Vulnerability · Published Jun 12, 2026 · Assigned by GitHub_M

CVE-2026-54057Kitty vulnerable to command injection via unsanitized OSC 21 query reply

High 7.3

In plain English

A high-severity code injection in kitty from kovidgoyal. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 7% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)7.3High
Exploit odds (30 days)0.2%top 93.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

Kitty 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 bytes, including newlines, into the shell's input without sanitization. Version 0.47.3 fixes the issue.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12kittyno fix listedDEBIAN-CVE-2026-54057
Debian:13kitty0.41.1-2+deb13u2DEBIAN-CVE-2026-54057
Debian:14kitty0.47.3-1DEBIAN-CVE-2026-54057
Ubuntu:25.10kittyno fix listedUBUNTU-CVE-2026-54057

Affected products (as reported)

VendorProductVersions
kovidgoyal kitty < 0.47.3

Weakness: CWE-94, CWE-150 · Vector: CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

References