Skip to content
Fencer Vulns
high 7.8

CVE-2026-54057 json

Kitty vulnerable to command injection via unsanitized OSC 21 query reply

published 2026-06-12 4 mo ago modified 2026-10-25 14 d ago also EUVD-2026-36579

cvss
7.8
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.2%
EPSS 0.2% chance of exploitation in 30 days, percentile 6%
public exploits
0
none known

Summary

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.

Patch / fix

  • kitty_project kitty 0.47.3
  • kovidgoyal kitty 0.47.3
  • kitty Debian 13 0.41.1-2+deb13u2
  • kitty Debian 14 0.47.3-1

debian advisories DEBIAN-CVE-2026-54057

  • kitty Ubuntu Pro 26.04 LTS 0.45.0-1ubuntu0.1~esm2

ubuntu advisories UBUNTU-CVE-2026-54057

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • kitty openSUSE Leap 16.0 0.48.2-bp160.1.1
  • kitty openSUSE Tumbleweed 0.47.3-1.1

opensuse advisories openSUSE-SU-2026:21599-1openSUSE-SU-2026:11021-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-54057 updated cvss 8.8

kitty: Kitty: Arbitrary code execution via OSC 21 color-control query reply

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
total
Assessed
4 mo ago

Exploit prediction

0.17% chance of exploitation in the next 30 days, higher than 6% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • github.com https://github.com/kovidgoyal/kitty/security/advisories/GHSA-5gmr-9gwg-hhq6 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 4.0 7.3 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
CNA 4.0 7.3 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/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:X/V:X/RE:X/U:X
NVD 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

  • kovidgoyal kitty

Classification

Weakness
  • CWE-94 Improper Control of Generation of Code
  • CWE-150 Improper Neutralization of Escape, Meta, or Control Sequences

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.