CVE-2026-54057 Kitty vulnerable to command injection via unsanitized OSC 21 query reply
HighCVSS 7.3
EPSS 0.17%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
- Technology
- UbuntuDebian
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.
Upgrade path
4 packages: 4 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/kitty(Debian 13) | < 0.41.1-2+deb13u2; = 0.41.1-2; = 0.41.1-2+deb13u1 | 0.41.1-2+deb13u2 | Fixed |
| debian/kitty(Debian 14) | < 0.47.3-1; = 0.41.1-2; = 0.42.1-1; = 0.42.2-1 +9 more | 0.47.3-1 | Fixed |
| kovidgoyal kitty | < 0.47.3; = < 0.47.3 | 0.47.3 | Fixed |
| ubuntu/kitty(Ubuntu 26.04) | < 0.45.0-1ubuntu0.1~esm2 | 0.45.0-1ubuntu0.1~esm2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| kovidgoyal kitty | = < 0.47.3 | No fix listed |
| ubuntu/kitty(Ubuntu:26.04) | < 0.45.0-1ubuntu0.1~esm2 | 0.45.0-1ubuntu0.1~esm2 |
| kovidgoyal kitty | < 0.47.3 | 0.47.3 |
| debian/kitty(Debian:13) | < 0.41.1-2+deb13u2 | 0.41.1-2+deb13u2 |
| debian/kitty(Debian:13) | = 0.41.1-2 | No fix listed |
| debian/kitty(Debian:13) | = 0.41.1-2+deb13u1 | No fix listed |
| debian/kitty(Debian:14) | < 0.47.3-1 | 0.47.3-1 |
| debian/kitty(Debian:14) | = 0.41.1-2 | No fix listed |
| debian/kitty(Debian:14) | = 0.42.1-1 | No fix listed |
| debian/kitty(Debian:14) | = 0.42.2-1 | No fix listed |
| debian/kitty(Debian:14) | = 0.43.1-1 | No fix listed |
| debian/kitty(Debian:14) | = 0.44.0-1 | No fix listed |
| debian/kitty(Debian:14) | = 0.45.0-1 | No fix listed |
| debian/kitty(Debian:14) | = 0.45.0-2 | No fix listed |
| debian/kitty(Debian:14) | = 0.46.1-1 | No fix listed |
| debian/kitty(Debian:14) | = 0.46.2-1 | No fix listed |
| debian/kitty(Debian:14) | = 0.47.0-1 | No fix listed |
| debian/kitty(Debian:14) | = 0.47.0-2 | No fix listed |
| debian/kitty(Debian:14) | = 0.47.0-3 | No fix listed |
References
- https://github.com/kovidgoyal/kitty/security/advisories/GHSA-5gmr-9gwg-hhq6 exploit vendor-advisory
- Debian Security Tracker CVE-2026-54057 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-8763-1 vendor-advisory
- www.cve.org
- bugs.debian.org issue-tracking