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

- Severity: High 7.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-12T20:07:00.209Z
- Modified: 2026-10-25T23:10:00.167Z
- Weaknesses: CWE-94, CWE-150
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- kovidgoyal kitty: < 0.47.3; before 0.47.3

## Every score

- GitHub_M: CVSS:4.0 7.3 High `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`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/kovidgoyal/kitty/security/advisories/GHSA-5gmr-9gwg-hhq6> (exploit, vendor-advisory)

## Sources

- CVE List: [CVE-2026-54057](https://www.cve.org/CVERecord?id=CVE-2026-54057), CVE Terms of Use, modified 2026-06-16
- NVD: [CVE-2026-54057](https://nvd.nist.gov/vuln/detail/CVE-2026-54057), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-54057 · Whole record: https://cve.day/CVE-2026-54057.json · Rebuilt by cve.day 2026-11-25T22:59:24.580Z
