All reports
High

kitty: Kitty: Arbitrary Code Execution via Chained DCS Escape Sequences

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-72913

Probability of exploitation in the next 30 days: 0.21%

FIRST EPSS · 2026-11-22

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.

A flaw was found in Kitty, a cross-platform GPU based terminal. This vulnerability allows an attacker to achieve arbitrary code execution by chaining specific escape sequences (@kitty-echo and @kitty-ssh) when a user displays untrusted terminal data. These sequences write unauthenticated data to the child shell's input, enabling the execution of attacker-controlled commands. This could lead to a complete compromise of the user's system.