CVE-2026-54057 PUBLISHED

Kitty vulnerable to command injection via unsanitized OSC 21 query reply

Assigner: GitHub_M
Reserved: 11.06.2026 Published: 12.06.2026 Updated: 12.06.2026

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.

Metrics

CVSS 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
CVSS Score: 7.3

Product Status

Vendor kovidgoyal
Product kitty
Versions
  • Version < 0.47.3 is affected

References

Problem Types

  • CWE-94: Improper Control of Generation of Code ('Code Injection') CWE
  • CWE-150: Improper Neutralization of Escape, Meta, or Control Sequences CWE