Skip to main content
VulnerabilityPublished Updated

CVE-2026-42850: In versions prior to 0.47.0, it is possible to inject commands within the subshell through kitty error

Affects kittySource GCVE Database

0
Compare
Authoritative record:CVE-2026-42850· High 7.4

Not known to be exploited · CVSS 7.4 High · fixed in 0.32.2-1ubuntu0.4+esm2 : patch kitty soon.

Data as of 24 Nov 2026, 20:28 UTC

CVSS 4.0 base score
7.4High
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 0.32.2-1ubuntu0.4+esm2, 0.45.0-1ubuntu0.1~esm2
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 12 Jun 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.

What to do

Upgrade the Ubuntu kitty to 0.32.2-1ubuntu0.4+esm2 (package) or 0.45.0-1ubuntu0.1~esm2 (package).

Affected software

ProductAffectedFixed in
Ubuntu Pro 26.04 LTSkittypkg:deb/ubuntu/kitty?arch=source&distro=esm-apps/resoluteOther threatsAffected
  • <0.45.0-1ubuntu0.1~esm2
Fixed in
  • 0.45.0-1ubuntu0.1~esm2
Ubuntu 25.10kittypkg:deb/ubuntu/kitty?arch=source&distro=questingOther threatsAffected
  • =0.39.1-1
  • =0.41.1-2
  • =0.41.1-2+deb13u1build0.25.10.1
Fixed in–
Ubuntu Pro 24.04 LTSkittypkg:deb/ubuntu/kitty?arch=source&distro=esm-apps/nobleOther threatsAffected
  • <0.32.2-1ubuntu0.4+esm2
Fixed in
  • 0.32.2-1ubuntu0.4+esm2

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…