{"id":"CVE-2026-72913","state":"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.","publishedAt":"2026-08-10T21:07:29.557Z","updatedAt":"2026-08-11T15:59:44.886Z","severity":{"score":7.3,"label":"High","version":"4.0","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","source":"GitHub_M"},"assigner":"GitHub_M","products":["kovidgoyal kitty"],"affected":[{"vendor":"kovidgoyal","product":"kitty","versions":[{"version":"< 0.48.2","status":"affected"}]}],"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"],"weaknesses":["CWE-77","CWE-93","CWE-150"],"ingestedAt":"2026-10-29T20:12:58.252Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/72xxx/CVE-2026-72913.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-72913","state":"PUBLISHED","datePublished":"2026-08-10T21:07:29.557Z","dateUpdated":"2026-08-11T15:59:44.886Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-08-10T17:57:26.143Z"},"containers":{"cna":{"title":"Kitty: Command injection into the child shell via chained @kitty-echo + @kitty-ssh DCS escape sequences","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"kovidgoyal","product":"kitty","versions":[{"version":"< 0.48.2","status":"affected"}]}],"references":[{"url":"https://github.com/kovidgoyal/kitty/security/advisories/GHSA-ccp2-q4v6-rw94","name":"https://github.com/kovidgoyal/kitty/security/advisories/GHSA-ccp2-q4v6-rw94","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/kovidgoyal/kitty/commit/9dca948e9bec3c926ab3370f2cd10f9b9b10821f","name":"https://github.com/kovidgoyal/kitty/commit/9dca948e9bec3c926ab3370f2cd10f9b9b10821f","tags":["x_refsource_MISC"]},{"url":"https://github.com/kovidgoyal/kitty/releases/tag/v0.48.2","name":"https://github.com/kovidgoyal/kitty/releases/tag/v0.48.2","tags":["x_refsource_MISC"]},{"url":"https://sw.kovidgoyal.net/kitty/changelog/#id1","name":"https://sw.kovidgoyal.net/kitty/changelog/#id1","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":7.3,"baseSeverity":"HIGH","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-77","lang":"en","description":"CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-93","lang":"en","description":"CWE-93: Improper Neutralization of CRLF Sequences ('CRLF Injection')","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-150","lang":"en","description":"CWE-150: Improper Neutralization of Escape, Meta, or Control Sequences","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-08-10T21:07:29.557Z"},"source":{"advisory":"GHSA-ccp2-q4v6-rw94","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/kovidgoyal/kitty/security/advisories/GHSA-ccp2-q4v6-rw94","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-11T15:57:25.058735Z","id":"CVE-2026-72913","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-11T15:59:44.886Z"}}]}}}