7.3high
Kitty: Command injection into the child shell via chained @kitty-echo + @kitty-ssh DCS escape sequences
- Severity
- 7.3high CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.27% (higher than 20% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
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
| Product or package | Versions | Reported by |
|---|---|---|
| kovidgoyal kitty | < 0.48.2 | CVE List |
Classification
What each source says
CVE List
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.
NVD (es)
Kitty es un terminal multiplataforma basado en GPU. Antes de la versión 0.48.2, los manejadores DCS @kitty-echo y @kitty-ssh en kitty/window.py escriben datos no autenticados a la entrada estándar (stdin) del shell hijo, donde handle_remote_echo acepta caracteres de comando de shell imprimibles y handle_remote_ssh llama a get_ssh_data en kittens/ssh/utils.py, que emite un salto de línea; encadenar los manejadores puede ejecutar comandos controlados por el atacante cuando un usuario muestra datos de terminal no confiables. Este problema está solucionado en la versión 0.48.2.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-72913 changed 2026-08-11 | CVE Terms of Use |
| NVD | CVE-2026-72913 changed 2026-10-23 | Public domain |