7.3high
Kitty vulnerable to command injection via unsanitized OSC 21 query reply
- Severity
- 7.3high CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.17% (higher than 6% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| kovidgoyal kitty | < 0.47.3, before 0.47.3 | CVE List, NVD |
All scores
| GitHub_M | 7.3high CVSS:4.0 | 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 | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
What each source says
CVE List
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.
NVD (es)
Kitty es una terminal multiplataforma basada en GPU. En versiones anteriores a la 0.47.3, la respuesta a la consulta OSC 21 (control de color) de kitty refleja bytes controlados por el atacante, incluyendo saltos de línea, en la entrada del shell sin sanitización. La versión 0.47.3 corrige el problema.
References
| https://github.com/kovidgoyal/kitty/security/advisories/GHSA-5gmr-9gwg-hhq6 | exploit, vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-54057 changed 2026-06-16 | CVE Terms of Use |
| NVD | CVE-2026-54057 changed 2026-10-25 | Public domain |