VDB

CVE-2026-54055

CVE-2026-54055 PUBLISHED CVSS 5 MEDIUM

Kitty has an Arbitrary File Write via Symlink Race Condition in File Transmission Protocol

Reported by github_m · Published June 12, 2026

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kittykovidgoyal0.47.2

Risk scores

CVSS 3.1
5
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:L

Affected products

VendorProductVersions
kovidgoyalkitty< 0.47.2
kovidgoyalkitty0

Timeline

  • Jun 12, 2026 CVE Published
  • Jun 13, 2026 Coalition ESS Score
  • Jun 15, 2026 Security Advisory
  • Jun 15, 2026 CVE Updated
  • Jun 16, 2026 EPSS Score (3 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-54055
vulnetix vdb fixes CVE-2026-54055

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-54055/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›