Kitty: Command injection into the child shell via chained @kitty-echo + @kitty-ssh DCS escape sequences
CVE-2026-72913Published 10 Aug 2026, 21:07 UTC
Real-world risk
1.5/ 10Low
Routine
If the vulnerable configuration applies to you: 3.3
PreliminaryFrom the CVSS vector only · confidence low
CVSS
7.3
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from GitHub_M)
Kitty is a cross-platform GPU based terminal. Prior to 0.48.2, the @kitty-echo and @kitty-ssh DCS handlers in kitty/window.py write unauthenticated data to the child shell's stdin, where handle_remote_echo accepts printable shell command characters and handle_remote_ssh calls get_ssh_data in kittens/ssh/utils.py, which emits a newline; chaining the handlers can execute attacker-controlled commands when a user displays untrusted terminal data. This issue is fixed in version 0.48.2.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| kittyNiche | < 0.48.2 | 0.48.2 |
What to do
Update to a fixed version: 0.48.2.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Full compromiseCode execution or full control of the system or application | From the CVSS vector | 1.00 |
| Attacker position | LocalMust already run code or have a shell on the machine | From the CVSS vector | 0.50 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | RoutineA normal action: open a file, visit a page, click a link | From the CVSS vector | 0.70 |
| Configuration | UncommonNeeds a non-default feature that a minority enables | From the CVSS vector | 0.45 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T3: Public proof of concept (× 0.95)
A qualifying GitHub proof of concept, an unverified Exploit-DB entry, CISA's SSVC says PoC, or a reference tagged as an exploit
- Reference tagged as exploit (link)
- CISA SSVC: proof of concept
EPSS 0.3% chance of exploitation in 30 days (percentile 20), as of 2026-12-03.
The arithmetic
- Prerequisites multiplied together0.158
- Threat T3: Public proof of concept0.950
- 10 × impact 1 × prerequisites 0.1575 × threat 0.951.496
- Rounded to one decimal between 0.1 and 101.5
Exploitation and evidence timeline
- 10 Aug 2026 Published
- 3 Dec 2026 Reference tagged as exploit first seen
- 3 Dec 2026 CISA SSVC: proof of concept first seen
- 3 Dec 2026 Risk 1.5 (cvss fallback)
Weakness
CWE-77, CWE-93, CWE-150
References
- https://github.com/kovidgoyal/kitty/security/advisories/GHSA-ccp2-q4v6-rw94exploit, vendor-advisory
- https://github.com/kovidgoyal/kitty/commit/9dca948e9bec3c926ab3370f2cd10f9b9b10821fmisc
- https://github.com/kovidgoyal/kitty/releases/tag/v0.48.2misc
- https://sw.kovidgoyal.net/kitty/changelog/#id1misc
- CVE-2026-72913 on CVE.org