{"id":"UBUNTU-CVE-2026-72913","details":"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.","modified":"2026-09-15T20:16:14.396131770Z","published":"2026-08-10T21:17:00Z","upstream":["CVE-2026-72913"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-72913"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-72913"},{"type":"REPORT","url":"https://github.com/kovidgoyal/kitty/security/advisories/GHSA-ccp2-q4v6-rw94"},{"type":"REPORT","url":"https://github.com/kovidgoyal/kitty/commit/9dca948e9bec3c926ab3370f2cd10f9b9b10821f"},{"type":"REPORT","url":"https://github.com/kovidgoyal/kitty/releases/tag/v0.48.2"},{"type":"REPORT","url":"https://sw.kovidgoyal.net/kitty/changelog/#id1"}],"affected":[{"package":{"name":"kitty","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/kitty?arch=source&distro=esm-apps%2Ffocal"},"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"],"ecosystem_specific":{"binaries":[{"binary_version":"0.15.0-1ubuntu0.2+esm1","binary_name":"kitty"},{"binary_name":"kitty-terminfo","binary_version":"0.15.0-1ubuntu0.2+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-72913.json"}},{"package":{"name":"kitty","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/kitty?arch=source&distro=esm-apps%2Fjammy"},"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"],"ecosystem_specific":{"binaries":[{"binary_version":"0.21.2-1ubuntu0.22.04.1+esm1","binary_name":"kitty"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-72913.json"}},{"package":{"name":"kitty","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/kitty?arch=source&distro=esm-apps%2Fnoble"},"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"],"ecosystem_specific":{"binaries":[{"binary_version":"0.32.2-1ubuntu0.4+esm2","binary_name":"kitty"},{"binary_name":"kitty-shell-integration","binary_version":"0.32.2-1ubuntu0.4+esm2"},{"binary_version":"0.32.2-1ubuntu0.4+esm2","binary_name":"kitty-terminfo"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-72913.json"}},{"package":{"name":"kitty","ecosystem":"Ubuntu:Pro:26.04:LTS","purl":"pkg:deb/ubuntu/kitty?arch=source&distro=esm-apps%2Fresolute"},"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"],"ecosystem_specific":{"binaries":[{"binary_version":"0.45.0-1ubuntu0.1~esm2","binary_name":"kitty"},{"binary_name":"kitty-shell-integration","binary_version":"0.45.0-1ubuntu0.1~esm2"},{"binary_name":"kitty-terminfo","binary_version":"0.45.0-1ubuntu0.1~esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-72913.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"},{"type":"Ubuntu","score":"medium"}]}