Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-42850— Kitty has a shell command injection

Quick assessment

Affected
kovidgoyal kitty
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Kovidgoyal kitty是Kovidgoyal个人开发者开源的一个基于Python的GPU终端仿真软件。 该软件可提供基本的终端功能,并且基于GPU渲染可降低系统负载,采用OpenGL进行渲染,可支持在Linux、Mac上使用。 kovidgoyal kitty 0.47.0之前版本存在命令注入漏洞,该漏洞源于错误信息未进行转义,可能导致命令注入攻击。

AI Predicted 8.1 Difficulty: Easy EPSS 0.41% · P32

Possible ATT&CK Techniques 1 AI

T1059 · Command and Scripting Interpreter

Affected Version Matrix 1

VendorProduct Version RangeStatus
kovidgoyal kitty < 0.47.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-42850

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Kitty has a shell command injection
Source: CVE Program / CVE List V5
Vulnerability Description
Kitty is a cross-platform GPU based terminal. In versions prior to 0.47.0, it is possible to inject commands within the subshell through kitty error. A special escape code will make kitty return an error, this error is not escaped and will be correctly echoed back to the terminal with CRLF, as such it will be run by the shell in use. To exploit this bug, the victim must use a netcat or a similar program to connect to the attacker, or else listening for someone to connect. Once this condition is set, an attacker could pwn the computer of the victim using a special kitty's escape code that will run a command in the shell in use. Version 04.7.0 fixes the issue.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Source: CVE Program / CVE List V5
Vulnerability Type
在命令中使用的特殊元素转义处理不恰当(命令注入)
Source: CVE Program / CVE List V5
Vulnerability Title
Kovidgoyal kitty 命令注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Kovidgoyal kitty是Kovidgoyal个人开发者开源的一个基于Python的GPU终端仿真软件。 该软件可提供基本的终端功能,并且基于GPU渲染可降低系统负载,采用OpenGL进行渲染,可支持在Linux、Mac上使用。 kovidgoyal kitty 0.47.0之前版本存在命令注入漏洞,该漏洞源于错误信息未进行转义,可能导致命令注入攻击。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
kovidgoyal kitty < 0.47.0 -

II. Public POCs for CVE-2026-42850

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-42850

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-42850 (1)

Same Patch Batch · kovidgoyal · 2026-06-12 · 5 CVEs total

CVE-2026-42851 7.8 HIGH @kitty-edit DCS + --color=geninclude vulnerable to Unauthenticated in-process RCE
CVE-2026-54056 7.6 HIGH Kitty has an arbitrary file overwrite via symlink following in `kitten dnd` remote drop st
CVE-2026-54055 5.0 MEDIUM Kitty has an Arbitrary File Write via Symlink Race Condition in File Transmission Protocol
CVE-2026-54057 Kitty vulnerable to command injection via unsanitized OSC 21 query reply

IV. Related Vulnerabilities

V. Comments for CVE-2026-42850

No comments yet


Leave a comment