Skip to main content
Public proof of conceptFix available

CVE-2026-54056

A public proof of concept exists; no exploitation attested.

  • Published2026-06-12
  • Fixed in0.47.2
  • WeaknessCWE-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 0.47.0 and 0.47.1, `kitten dnd` can allow a malicious remote drag-and-drop source to overwrite or truncate arbitrary files writable by the local kitty user. Remote `text/uri-list` drops are staged in a temporary directory, but on case-sensitive filesystems duplicate remote basenames are not de-duplicated. An attacker can first create a staged symlink and then send a same-name regular-file entry. The regular-file write uses `utils.CreateAt()` / `openat(O_RDWR|O_CREAT|O_TRUNC)` without `O_NOFOLLOW`, so it follows the attacker-created symlink and writes outside the staging directory before final overwrite confirmation runs. This appears related in class to the file-transfer symlink advisory, but it is a different bug: it affects `kitten dnd` remote drag-and-drop staging, uses different vulnerable code (`kittens/dnd/drop.go` and `tools/utils/file_at_fd.go`), and reproduces on commit `4aa4a5c0567a92553a8c20a88a4352da637fca5d`, after the file-transfer `O_NOFOLLOW` fix. Version 0.47.2 patches the issue.

Timeline

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

Versions per branch

NVD
Kovidgoyal kitty
BranchAffectedFixed in
0.47≥ 0.47.0, < 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.0, < 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 · no fixed version listed
  • kittyUbuntu:Pro:24.04:LTSall versions · no fixed version listed
  • kittyUbuntu:Pro:22.04:LTSall versions · no fixed version listed
  • kittyUbuntu:Pro:20.04:LTSall versions · no fixed version listed
  • kittyUbuntu:26.10all versions · no fixed version listed
  • 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

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

  • CISA-ADPSSVC decisionpoc2026-06-15
  • CNACVSS 3.17.6known since 2026-10-26
  • NVDCVSS 3.17.1read 2026-10-26
  • CNAweakness (CWE)CWE-59known since 2026-10-26
  • FIRST EPSSEPSS score0.3 %2026-12-04
  • OSVaffected packages—

Identifiers

Technical details

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

Frequently asked questions

What is CVE-2026-54056?

Kitty is a cross-platform GPU based terminal. In versions 0.47.0 and 0.47.1, `kitten dnd` can allow a malicious remote drag-and-drop source to overwrite or truncate arbitrary files writable by the local kitty user. Remote `text/uri-list` drops are staged in a temporary directory, but on case-sensitive filesystems duplicate remote basenames are not de-duplicated. An attacker can first create a staged symlink and then send a same-name regular-file entry. The regular-file write uses `utils.CreateAt()` / `openat(O_RDWR|O_CREAT|O_TRUNC)` without `O_NOFOLLOW`, so it follows the attacker-created symlink and writes outside the staging directory before final overwrite confirmation runs. This appears related in class to the file-transfer symlink advisory, but it is a different bug: it affects `kitten dnd` remote drag-and-drop staging, uses different vulnerable code (`kittens/dnd/drop.go` and `tools/utils/file_at_fd.go`), and reproduces on commit `4aa4a5c0567a92553a8c20a88a4352da637fca5d`, after the file-transfer `O_NOFOLLOW` fix. Version 0.47.2 patches the issue.

Is CVE-2026-54056 actively exploited?

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

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

CVE-2026-54056 has a CVSS v3 base score of 7.1 (High severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/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