Skip to main content
EPSS 0.2%top 90%

CVE-2026-72913: CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection') in kovidgoyal kitty

0
High
VulnerabilityCVE-2026-72913cvecve-2026-72913cwe-77cwe-93cwe-150
Published: 08/10/2026 (08/10/2026, 21:07:29 UTC)
Source: CVE Database V5
Vendor/Project: kovidgoyal
Product: 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

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Passive
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

kovidgoyal

kitty

Affected versions
<0.48.2
GitHub Actionsmore threats →ai
kovidgoyal/kitty
pkg:github/kovidgoyal/kitty
Affected versions
<0.48.2

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

AILast updated: 08/11/2026, 12:56:41 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses