cve.bz

CVE-2026-54055 kovidgoyal kitty: Link Following

5.0 mediumEPSS 0.07%

Medium (5.0) in kovidgoyal kitty. EPSS 0.07% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

5.0 medium
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:L
EPSS
0.07% (unchanged from 0.07% a week ago; 0.10% 30 days ago) estimated probability of exploitation activity in the next 30 days; 0th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2026-06-15. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-59 Improper Link Resolution Before File Access (Link Following)
CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition
CWE-426 Untrusted Search Path
OWASP Top 10
A01:2025 Broken Access Control, A08:2025 Software or Data Integrity Failures
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-54055 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-54055?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-54055?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-54055 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
kovidgoyal:kittybefore 0.47.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12kitty0.26.5-5+deb12u1DEBIAN-CVE-2026-54055 DLA-4928-1
Debian13kitty0.41.1-2+deb13u2DEBIAN-CVE-2026-54055 DSA-6423-1
Debian14kitty0.47.3-1DEBIAN-CVE-2026-54055
Ubuntu25.10kittyno fix listedUBUNTU-CVE-2026-54055
UbuntuPro:24.04:LTSkitty0.32.2-1ubuntu0.4+esm2UBUNTU-CVE-2026-54055 USN-8763-1
UbuntuPro:26.04:LTSkitty0.45.0-1ubuntu0.1~esm2UBUNTU-CVE-2026-54055 USN-8763-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Attack patterns (CAPEC)

  • CAPEC-38 Leveraging/Manipulating Configuration File Search Paths Likelihood: High · Severity: Very High
  • CAPEC-27 Leveraging Race Conditions via Symbolic Links Likelihood: Medium · Severity: High
  • CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions Likelihood: High · Severity: High
  • CAPEC-17 Using Malicious Files Likelihood: High · Severity: Very High
  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-132 Symlink Attack Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON