CVE-2026-72913Kitty: Command injection into the child shell via chained @kitty-echo + @kitty-ssh DCS…
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.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | kitty | Fix pending | UBUNTU-CVE-2026-72913 | |
| Ubuntu 26.04 | kitty | Fix pending | UBUNTU-CVE-2026-72913 | |
| Ubuntu 24.04 | kitty | Fix pending | UBUNTU-CVE-2026-72913 | |
| Ubuntu 22.04 | kitty | Fix pending | UBUNTU-CVE-2026-72913 | |
| Ubuntu 20.04 | kitty | Fix pending | UBUNTU-CVE-2026-72913 | |
| Debian 14 | kitty | Fixed | 0.48.2-1 | DEBIAN-CVE-2026-72913 |
| Debian 13 | kitty | Fix pending | DEBIAN-CVE-2026-72913 | |
| Debian 12 | kitty | Fixed | 0.26.5-5+deb12u1 | DEBIAN-CVE-2026-72913 |
| Red Hat Enterprise Linux 10 | gvisor-tap-vsock | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | gvisor-tap-vsock-gvforwarder | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | gvisor-tap-vsock | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | gvisor-tap-vsock-gvforwarder | Fix pending Affected |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- kovidgoyal kitty: affected: < 0.48.2
References
- https://github.com/kovidgoyal/kitty/security/advisories/GHSA-ccp2-q4v6-rw94
- https://github.com/kovidgoyal/kitty/commit/9dca948e9bec3c926ab3370f2cd10f9b9b10821f
- https://github.com/kovidgoyal/kitty/releases/tag/v0.48.2
- https://sw.kovidgoyal.net/kitty/changelog/#id1
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.