{"id":"CVE-2026-72913","aliases":["DEBIAN-CVE-2026-72913","EUVD-2026-55835","GHSA-ccp2-q4v6-rw94","UBUNTU-CVE-2026-72913"],"status":"published","title":"Kitty: Command injection into the child shell via chained @kitty-echo + @kitty-ssh DCS escape sequences","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.","severity":{"version":"4.0","score":7.3,"vector":"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","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.00207,"percentile":0.10962,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-150","CWE-77","CWE-93"],"published":"2026-08-10T21:07:29Z","modified":"2026-10-28T02:31:08Z","fixes":[{"ecosystem":"Debian:14","package":"kitty","fixed_in":["0.48.2-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"kitty","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.26.5-5","0.30.1-1","0.31.0-1","0.31.0-2","0.31.0-3","0.31.0-4","0.32.0-1","0.32.1-1","0.32.2-1","0.33.0-2","0.33.1-1","0.34.1-1","0.35.1-1","0.35.2-1","0.36.1-1","0.36.4-1","0.36.4-2","0.36.4-3","0.37.0-1","0.38.1-1","0.39.0-1","0.39.1-1","0.40.0-1","0.41.1-1","0.41.1-2","0.42.1-1","0.42.2-1","0.43.1-1","0.44.0-1","0.45.0-1","0.45.0-2","0.46.1-1","0.46.2-1","0.47.0-1","0.47.0-2","0.47.0-3","0.47.3-1","0.47.4-1","0.48.2-1","0.48.2-1.1"]},{"source":"osv","ecosystem":"Debian:13","package":"kitty","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.41.1-2","0.41.1-2+deb13u1","0.41.1-2+deb13u2","0.42.1-1","0.42.2-1","0.43.1-1","0.44.0-1","0.45.0-1","0.45.0-2","0.46.1-1","0.46.2-1","0.47.0-1","0.47.0-2","0.47.0-3","0.47.3-1","0.47.4-1","0.48.2-1","0.48.2-1.1"]},{"source":"osv","ecosystem":"Debian:14","package":"kitty","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.48.2-1"}]}],"versions":["0.41.1-2","0.42.1-1","0.42.2-1","0.43.1-1","0.44.0-1","0.45.0-1","0.45.0-2","0.46.1-1","0.46.2-1","0.47.0-1","0.47.0-2","0.47.0-3","0.47.3-1","0.47.4-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"kitty","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.14.3-1","0.14.4-1","0.14.6-1","0.15.0-1","0.15.0-1build1","0.15.0-1ubuntu0.2","0.15.0-1ubuntu0.2+esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:22.04:LTS","package":"kitty","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.19.3-1","0.21.2-1","0.21.2-1build1","0.21.2-1ubuntu0.22.04.1","0.21.2-1ubuntu0.22.04.1+esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:24.04:LTS","package":"kitty","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.26.5-3ubuntu2","0.26.5-5ubuntu1","0.31.0-3","0.31.0-4","0.32.2-1","0.32.2-1build2","0.32.2-1build3","0.32.2-1ubuntu0.1","0.32.2-1ubuntu0.2","0.32.2-1ubuntu0.3","0.32.2-1ubuntu0.4","0.32.2-1ubuntu0.4+esm1","0.32.2-1ubuntu0.4+esm2"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"kitty","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.45.0-1build1","0.47.0-3","0.47.4-1","0.48.2-1.1ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:26.04:LTS","package":"kitty","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.41.1-2","0.43.1-1","0.44.0-1","0.45.0-1","0.45.0-1build1","0.45.0-1ubuntu0.1~esm1","0.45.0-1ubuntu0.1~esm2"]}],"products":[{"vendor":"kitty project","product":"kitty"},{"vendor":"kovidgoyal","product":"kitty"}],"references":[{"url":"https://github.com/kovidgoyal/kitty/security/advisories/GHSA-ccp2-q4v6-rw94","tags":["x_refsource_CONFIRM","exploit","advisory","report"]},{"url":"https://github.com/kovidgoyal/kitty/commit/9dca948e9bec3c926ab3370f2cd10f9b9b10821f","tags":["x_refsource_MISC","fix","report"]},{"url":"https://github.com/kovidgoyal/kitty/releases/tag/v0.48.2","tags":["x_refsource_MISC","web","report"]},{"url":"https://sw.kovidgoyal.net/kitty/changelog/#id1","tags":["x_refsource_MISC","web","report"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72913.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72913","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-72913","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-72913","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-72913","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2026-72913","title":"Kitty: Command injection into the child shell via chained @kitty-echo + @kitty-ssh DCS escape sequences","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.","status":"published","published":"2026-08-10T21:07:29.557Z","modified":"2026-08-11T15:59:44.886Z","cvss":[{"version":"4.0","score":7.3,"vector":"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","level":"high","assessor":"cna"}],"cwes":["CWE-77","CWE-93","CWE-150"],"updated_at":"2026-11-02T14:19:52.016971Z"}],"euvd":[{"id":"EUVD-2026-55835","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.","status":"published","published":"2026-08-10T21:07:29Z","modified":"2026-08-11T15:59:44Z","cvss":[{"version":"4.0","score":7.3,"vector":"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","level":"high"}],"updated_at":"2026-11-02T18:01:59.926728Z"}],"nvd":[{"id":"CVE-2026-72913","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.","status":"published","published":"2026-08-10T21:17:26.297Z","modified":"2026-10-23T19:10:00.167Z","cvss":[{"version":"4.0","score":7.3,"vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high","assessor":"secondary"}],"cwes":["CWE-77","CWE-93","CWE-150"],"updated_at":"2026-11-02T14:12:36.102748Z"}],"osv":[{"id":"CVE-2026-72913","title":"Kitty: Command injection into the child shell via chained @kitty-echo + @kitty-ssh DCS escape sequences","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.","status":"published","published":"2026-08-10T21:07:29.557Z","modified":"2026-10-28T02:31:08.380666549Z","cvss":[{"version":"4.0","score":7.3,"vector":"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","level":"high"}],"cwes":["CWE-150","CWE-77","CWE-93"],"updated_at":"2026-11-02T15:45:15.88521Z"},{"id":"DEBIAN-CVE-2026-72913","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.","status":"published","published":"2026-08-10T21:17:26.297Z","modified":"2026-10-24T09:47:31.775545335Z","cvss":[{"version":"4.0","score":7.3,"vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high"}],"updated_at":"2026-11-02T15:46:02.499355Z"},{"id":"UBUNTU-CVE-2026-72913","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.","status":"published","published":"2026-08-10T21:17:00Z","modified":"2026-10-17T13:00:58.16133055Z","cvss":[{"version":"4.0","score":7.3,"vector":"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","level":"high"}],"updated_at":"2026-11-02T16:57:08.628462Z"}]}}
