Skip to main content
Public proof of conceptFix available

CVE-2026-54055

A public proof of concept exists; no exploitation attested.

  • Published2026-06-12
  • Fixed in0.47.2
  • WeaknessCWE-367 · CWE-426 · CWE-59

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

Kitty is a cross-platform GPU based terminal. In versions prior to 0.47.2, a local privilege escalation vulnerability exists in kitty's file transmission protocol where a child process running in the terminal can write to arbitrary files on the filesystem by exploiting a TOCTOU (Time-of-Check-Time-of-Use) race condition between symlink validation and file creation. The `os.open()` call used to create files does not use `O_NOFOLLOW`, allowing an attacker to create a symlink between the initial stat check and the actual file open, causing the write to follow the symlink to an arbitrary destination. Version 0.47.2 fixes the issue.

Timeline

dates in UTC
  1. 2026-06-1220:16CVE publishedNVD

Versions per branch

NVD
Kovidgoyal kitty
BranchAffectedFixed in
0.47< 0.47.20.47.2

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • kovidgoyal kitty
    Affected
    • = < 0.47.2no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-06-12

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • kittyUbuntu:Pro:26.04:LTSall versions · fixed in 0.45.0-1ubuntu0.1~esm2
  • kittyUbuntu:Pro:24.04:LTSall versions · fixed in 0.32.2-1ubuntu0.4+esm2
  • kittyUbuntu:25.10all versions · no fixed version listed
  • kittyopenSUSE:Tumbleweedall versions · fixed in 0.51.1-1.1
  • kittyDebian:14all versions · fixed in 0.47.3-1
  • kittyDebian:13all versions · fixed in 0.41.1-2+deb13u2
  • kittyDebian:12all versions · fixed in 0.26.5-5+deb12u1

Full record on NVD

Fix

  1. Update Kovidgoyal kitty to 0.47.2

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • NVDCVE recordread 2026-10-26
  • CISA-ADPSSVC decisionpoc2026-06-15
  • CNACVSS 3.15known since 2026-10-26
  • CNAweakness (CWE)CWE-367, CWE-426, CWE-59known since 2026-10-26
  • FIRST EPSSEPSS score0.07 %2026-12-04
  • OSVaffected packages—

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:L
Published
2026-06-12
Last modified
2026-10-26
NVD status
Analyzed

Frequently asked questions

What is CVE-2026-54055?

Kitty is a cross-platform GPU based terminal. In versions prior to 0.47.2, a local privilege escalation vulnerability exists in kitty's file transmission protocol where a child process running in the terminal can write to arbitrary files on the filesystem by exploiting a TOCTOU (Time-of-Check-Time-of-Use) race condition between symlink validation and file creation. The `os.open()` call used to create files does not use `O_NOFOLLOW`, allowing an attacker to create a symlink between the initial stat check and the actual file open, causing the write to follow the symlink to an arbitrary destination. Version 0.47.2 fixes the issue.

Is CVE-2026-54055 actively exploited?

A proof-of-concept exploit exists for CVE-2026-54055, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2026-54055?

CVE-2026-54055 has a CVSS v3 base score of 5 (Medium severity), with vector string CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:L.

Running kitty? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record