# CVE-2026-72913: Kitty: Command injection into the child shell via chained @kitty-echo + @kitty-ssh DCS escape sequences

- 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.27%, higher than 20% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-10T21:07:29.557Z
- Modified: 2026-10-23T19:10:00.167Z
- Weaknesses: CWE-77, CWE-93, CWE-150
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- kovidgoyal kitty: < 0.48.2

## References

- <https://github.com/kovidgoyal/kitty/security/advisories/GHSA-ccp2-q4v6-rw94> (exploit)
- <https://github.com/kovidgoyal/kitty/commit/9dca948e9bec3c926ab3370f2cd10f9b9b10821f>
- <https://github.com/kovidgoyal/kitty/releases/tag/v0.48.2>
- <https://sw.kovidgoyal.net/kitty/changelog/#id1>

## Sources

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

---

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