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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| kovidgoyal | kitty | < 0.48.2 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | kitty | 0.48.2-1 | — |
| Debian 13 | kitty | No fix yet | — |
| Debian 12 | kitty | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | kitty | No fix yet | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 26.04 LTS | kitty | No fix yet | — |
| Ubuntu Pro 24.04 LTS | kitty | No fix yet | — |
| Ubuntu Pro 22.04 LTS | kitty | No fix yet | — |
| Ubuntu Pro 20.04 LTS | kitty | No fix yet | — |