Skip to main content

Kitty EUVDEUVD-2026-132840

| CVE-2026-134823 MEDIUM
Improper Neutralization of Escape, Meta, or Control Sequences (CWE-150)
2026-11-22 VulnCheck GHSA-v4xv-86fx-r4r4
4.8
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Embed escape sequence in file/archive-member name
  2. Delivery
    Deliver repo or archive to victim
  3. Exploit
    Victim highlights entry in choose-files preview
  4. Execution
    Raw OSC 52 overwrites victim clipboard
  5. Impact
    Victim pastes and runs attacker command

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Escape character neutralization
Exploitation Conditions

Exploitation requires the victim to use kitty's choose-files kitten (e.g. 'kitten choose-files') and to highlight an attacker-controlled entry whose file name - or zip/tar/rar member name - contains terminal escape sequences; the kitten (preview.go write_file_metadata and archive.go displayFilename paths in 0.50.0) writes these names raw to the terminal on highlight, with no extraction or confirmation prompt. For the OSC 52 clipboard-overwrite effect, kitty's clipboard_control must permit write-clipboard, which the default configuration allows. Key limiting factors that reduce real-world risk: the vector is local (the victim must obtain and browse the malicious files locally, e.g. a cloned repo, downloaded/extracted archive, or shared drive); it requires passive user interaction (navigating to and highlighting the entry); and the most damaging outcome - command execution from clipboard poisoning - additionally requires the victim to later paste the clipboard contents. The other effects (OSC 8 links, title change, screen clear, in-picker UI spoofing) are deception-only and do not by themselves execute code.

Impact

This is a genuine but modest-severity issue, not a top-tier emergency. The CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N) and base score of 4.8 point to a low-to-medium integrity-only flaw: no confidentiality or availability impact, a local vector, and required (passive) user interaction. No EPSS score or CISA KEV entry is present in the input, and the vuln.today Decision label is 'this_month' (not act_now/emergency), all of which align with a lower-urgency triage rather than active mass exploitation. The one signal that raises attention is that a working proof-of-concept is included in the GHSA advisory (recorded OSC 52 writes from both a crafted filename and a zip member name), so exploitability is demonstrated, not theoretical. However, impact is bounded: the primary consequence is clipboard poisoning via OSC 52, which only becomes dangerous if the victim later pastes the injected text - the reporter themselves rates it medium-to-low for this reason. The remaining effects (OSC 8 link injection, title change, screen/UI spoofing inside the picker) are deception/nuisance rather than direct code execution. One conflict worth flagging: the CVE description states affected range 0.43.0 before 0.51.0, while the vendor GHSA advisory specifically identifies 0.50.0 and master as the tested/affected code - the applicability to versions back to 0.43.0 is asserted by the CVE but not independently demonstrated in the advisory. Overall: a real priority to patch for kitty users who use the choose-files kitten on untrusted directories/archives, but not a drop-everything incident.

Exploit ScenarioDerived

An attacker ships a git repository, downloadable archive (zip/tar/rar), or shared folder containing a file - or archive member - whose name embeds terminal escape sequences such as OSC 52. When the victim browses with kitty's choose-files kitten and merely highlights the entry, the kitten writes the raw unsanitized name to the terminal, silently overwriting the clipboard; a subsequent paste by the victim runs the attacker's injected command. A working PoC is included in the vendor advisory, demonstrating OSC 52 clipboard writes from both a filename and a zip member name.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 22, 2026

Kitty's choose-files kitten writes attacker-controlled file names and archive member names to the terminal without sanitization, so a name containing escape sequences is emitted as soon as the victim highlights that entry in the preview pane - no extraction or confirmation required. Versions 0.43.0 through 0.50.0 are affected, and the practical outcomes are clipboard overwrite via OSC 52 (which can later lead to command execution if the victim pastes), OSC 8 hyperlink injection, window title changes, screen clearing, and UI spoofing inside the picker. A public proof-of-concept accompanying the upstream advisory reproduces the raw OSC 52 emission on a pty; it is not verified as working exploit code against a full kitty session, and there is no indication of active exploitation. Severity is modest: the vector is local, requires the victim to browse an attacker-supplied directory or archive, and the most damaging effect needs a subsequent paste.

RemediationAI

Vendor-released patch: upgrade to kitty 0.51.0 (https://github.com/kovidgoyal/kitty/releases/tag/v0.51.0), which contains commit 4fa6709910d289ef5b8771eefeaac876343bb083 and applies sanitize_name to file names, extensions, archive member names, calibre metadata, footer text and previewer output, plus keep_only_sgr for the cmd previewer and sanitized error strings. Per the vuln.today priority label this is a this_month item rather than an emergency. Where upgrading must be staged, the OSC 52 clipboard-overwrite vector can be removed by setting clipboard_control to disallow write-clipboard, at the cost of breaking legitimate terminal clipboard writes for all applications, and users should avoid running the choose-files kitten against untrusted directories, cloned repositories, downloaded archives or shared drives until patched. The other effects (OSC 8 links, title changes, screen clearing, in-picker spoofing) remain present under that setting, so disabling the clipboard path is a partial mitigation only; the upstream advisory treats sanitization, i.e. the 0.51.0 release, as the fix.

Affected VersionsENISA

kitty 0.43.0 <0.51.0

Affected Packages

euvd kitty fix: 0.51.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is terminal escape-sequence injection (CWE-150, also tracked as CWE-74) in kitty's Go-based choose-files kitten. Two rendering paths print untrusted names verbatim: preview.go's write_file_metadata prints filepath.Base(abspath) raw (and NewFileMetadataPreview/NewFileMetadataPreviewWithError use an unsanitized filepath.Ext for the title), while archive.go's displayFilename returns the member name unchanged whenever it is valid UTF-8, and the render path appends non-NonUTF8 zip entry names directly to the trailers that MessagePreview.Render flushes to the terminal via QueueWriteString. Because the bytes go straight to the tty, any CSI/OSC sequence embedded in a file or zip/tar/rar member name is interpreted by kitty itself; OSC 52 sets the clipboard, OSC 8 forges clickable links, and other sequences alter the title, clear the screen or paint convincing fake UI inside the picker. Kitty's default clipboard_control permits write-clipboard, so the OSC 52 payload is honored without extra configuration. Notably, neighbouring code in the same kitten already sanitizes the results list, directory listing trailers and symlink targets, so these are missing guards rather than a design gap. The upstream commit 4fa6709910d289ef5b8771eefeaac876343bb083 routes names, extensions and archive members through sanitize_name, restricts previewer output with keep_only_sgr, and also sanitizes calibre ebook metadata and previewer error text.

Know when Kitty gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 4.8 MEDIUM
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
vuln.today AI 3.3 LOW

Local vector since attacker-controlled names must be browsed in the local choose-files kitten, user interaction required to highlight the entry, and only low integrity impact (clipboard/display tampering) with no confidentiality or availability loss.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
Red Hat 3.3 LOW

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

Kitty 0.43.0 before 0.51.0 contains a terminal escape sequence injection vulnerability that allows attackers to emit escape sequences by crafting malicious file or archive member names. When a victim highlights such an entry in the choose-files kitten preview panel, unsanitized names are written raw, enabling OSC 52 clipboard overwrites, OSC 8 links, window title changes, or screen spoofing.

Threat Intelligence Overview

EPSS Score
0.2%
Top 84% exploitable
Prevalence
Medium
popular GPU-based developer terminal, common but not universally deployed
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

24
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

More in Kitty

View all
CVE-2023-48795 MEDIUM POC
5.9 Dec 18

The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remot

CVE-2016-2563 CRITICAL POC
9.8 Apr 07

Stack-based buffer overflow in the SCP command-line utility in PuTTY before 0.67 and KiTTY 0.66.6.3 and earlier allows r

CVE-2020-35605 CRITICAL POC
9.8 Dec 21

The Graphics Protocol feature in graphics.c in kitty before 0.19.3 allows remote attackers to execute arbitrary code bec

CVE-2024-23749 HIGH POC
7.8 Feb 09

KiTTY versions 0.76.1.13 and before is vulnerable to command injection via the filename variable, occurs due to insuffic

CVE-2024-25004 HIGH POC
7.8 Feb 09

KiTTY versions 0.76.1.13 and before is vulnerable to a stack-based buffer overflow via the username, occurs due to insuf

CVE-2024-25003 HIGH POC
7.8 Feb 09

KiTTY versions 0.76.1.13 and before is vulnerable to a stack-based buffer overflow via the hostname, occurs due to insuf

CVE-2022-41322 HIGH POC
7.8 Sep 23

In Kitty before 0.26.2, insufficient validation in the desktop notification escape sequence can lead to arbitrary code e

CVE-2026-33642 CRITICAL
9.8 May 19

Heap memory corruption in Kitty cross-platform GPU terminal emulator (versions 0.46.2 and below) allows remote attackers

CVE-2026-33633 HIGH
8.8 May 19

Heap buffer overflow in Kitty terminal versions 0.46.2 and below allows any process able to write to the terminal's stan

CVE-2025-43929 MEDIUM POC
4.1 Apr 20

open_actions.py in kitty before 0.41.0 does not ask for user confirmation before running a local executable file that ma

CVE-2026-42851 HIGH
7.8 Jun 12

Remote code execution in Kitty terminal emulator versions prior to 0.47.0 allows any process or remote peer that can wri

CVE-2026-42850 HIGH
7.4 Jun 12

Command injection in Kitty cross-platform GPU terminal emulator versions prior to 0.47.0 allows remote attackers to exec

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy