Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.2%top 94%

CVE-2026-54057: CWE-94: Improper Control of Generation of Code ('Code Injection') in kovidgoyal kitty

0
High
VulnerabilityCVE-2026-54057cvecve-2026-54057cwe-94cwe-150
Published: 06/12/2026 (06/12/2026, 20:07:00 UTC)
Source: CVE Database V5
Vendor/Project: kovidgoyal
Product: kitty

Description

Kitty is a cross-platform GPU based terminal. In versions prior to 0.47.3, kitty's OSC 21 (color-control) query reply reflects attacker-controlled bytes, including newlines, into the shell's input without sanitization. Version 0.47.3 fixes the issue.

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

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

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: 06/19/2026, 22:14:53 UTC

Technical Analysis

CVE-2026-54057 is a code injection vulnerability (CWE-94) in the kitty terminal emulator before version 0.47.3. The vulnerability occurs when the OSC 21 color-control query reply reflects attacker-controlled input, including newline characters, directly into the shell input without sanitization. This improper control of code generation can allow an attacker to inject arbitrary commands into the shell environment. The vulnerability is addressed by the update to version 0.47.3.

Potential Impact

An attacker able to influence the OSC 21 query reply can inject arbitrary commands into the shell input, potentially leading to code execution with the privileges of the user running kitty. The CVSS 4.0 score of 7.3 indicates a high severity, reflecting the potential for significant impact if exploited. However, there are no known exploits in the wild at this time.

Mitigation Recommendations

Upgrade kitty to version 0.47.3 or later, where this vulnerability is fixed. Since the vendor has released a fixed version, applying this official update is the recommended remediation. No other mitigations are specified.

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-06-11T18:24:35.096Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a2c758ce617e2d834c30b89

Added to database: 06/12/2026, 21:09:32 UTC

Last enriched: 06/19/2026, 22:14:53 UTC

Last updated: 07/31/2026, 19:22:59 UTC

Views: 72

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