CVE-2026-72913: CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection') in kovidgoyal kitty
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.
AI Analysis
Technical Summary
Kitty is a cross-platform GPU-based terminal emulator. Before version 0.48.2, the @kitty-echo and @kitty-ssh DCS handlers in kitty/window.py write unauthenticated data to the child shell's stdin. Specifically, 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 these handlers can lead to execution of attacker-controlled commands when a user displays untrusted terminal data. The vulnerability is classified under CWE-77 (Improper Neutralization of Special Elements used in a Command), CWE-93, and CWE-150. The issue is resolved in kitty version 0.48.2.
Potential Impact
An attacker can execute arbitrary commands in the context of the user's shell by sending specially crafted terminal data that triggers the vulnerable handlers. This can lead to command injection, potentially compromising the user's environment. The CVSS 4.0 score is 7.3 (high severity), reflecting the significant impact of remote command execution with low attack complexity but requiring user interaction.
Mitigation Recommendations
This vulnerability is fixed in kitty version 0.48.2. Users should upgrade to version 0.48.2 or later to remediate this issue. No other official remediation or temporary fixes are documented. Patch status is not explicitly confirmed in the vendor advisory, but the fix is stated to be in version 0.48.2.
CVE-2026-72913: CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection') in kovidgoyal kitty
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.
CVSS v4.0
Score 7.3high
Affected software
kovidgoyal
kitty
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Kitty is a cross-platform GPU-based terminal emulator. Before version 0.48.2, the @kitty-echo and @kitty-ssh DCS handlers in kitty/window.py write unauthenticated data to the child shell's stdin. Specifically, 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 these handlers can lead to execution of attacker-controlled commands when a user displays untrusted terminal data. The vulnerability is classified under CWE-77 (Improper Neutralization of Special Elements used in a Command), CWE-93, and CWE-150. The issue is resolved in kitty version 0.48.2.
Potential Impact
An attacker can execute arbitrary commands in the context of the user's shell by sending specially crafted terminal data that triggers the vulnerable handlers. This can lead to command injection, potentially compromising the user's environment. The CVSS 4.0 score is 7.3 (high severity), reflecting the significant impact of remote command execution with low attack complexity but requiring user interaction.
Mitigation Recommendations
This vulnerability is fixed in kitty version 0.48.2. Users should upgrade to version 0.48.2 or later to remediate this issue. No other official remediation or temporary fixes are documented. Patch status is not explicitly confirmed in the vendor advisory, but the fix is stated to be in version 0.48.2.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-08-10T17:57:26.143Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a7b1b30bf8831d539bca9e5
Added to database: 08/11/2026, 12:53:04 UTC
Last enriched: 08/11/2026, 12:56:41 UTC
Last updated: 09/25/2026, 13:47:48 UTC
Views: 85
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.