← Vulnerability feed

Vulnerability record · CVE-2026-54055 · published 12 June 2026

CVE-2026-54055: Kovidgoyal kitty link following vulnerability

Kovidgoyal · Kitty

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.

5.0 CVSS 3.1 Medium EPSS 0.10% · top 99.4% CWE-59 · Link followingCWE-367 · TOCTOU race condition
5.0CVSS 3.1 base score
0.10%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
2References
17 Jun 2026Last modified by NVD

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.

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

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2026-54055 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2026-33642Kovidgoyal kitty out-of-bounds read vulnerabilityKitty is a cross-platform GPU based terminal. In versions 0.46.2 and below, the handle_compose_command() function in kitty/graphics.c performs bounds…EPSS 0.43%9.8CVE-2020-35605Kovidgoyal kitty vulnerabilityThe Graphics Protocol feature in graphics.c in kitty before 0.19.3 allows remote attackers to execute arbitrary code because a filename containing sp…EPSS 3.8%8.8CVE-2026-33633Kovidgoyal kitty heap-based buffer overflow vulnerabilityKitty is a cross-platform GPU based terminal. Versions 0.46.2 and below contain a heap buffer overflow in load_image_data() that allows any process w…EPSS 0.46%7.8CVE-2026-42851Kovidgoyal kitty code injection vulnerabilityKitty is a cross-platform GPU based terminal. In versions prior to 0.47.0, a program able to write bytes to a kitty terminal — a remote SSH peer, a d…EPSS 0.19%7.8CVE-2025-43929Kovidgoyal kitty origin validation error vulnerabilityopen_actions.py in kitty before 0.41.0 does not ask for user confirmation before running a local executable file that may have been linked from an un…EPSS 0.19%7.4CVE-2026-42850Kovidgoyal kitty command injection vulnerabilityKitty 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.…EPSS 0.41%7.3CVE-2026-54057Kovidgoyal kitty code injection vulnerabilityKitty is a cross-platform GPU based terminal. In versions prior to 0.47.3, kitty's OSC 21 (color-control) query reply reflects attacker-controlled by…EPSS 0.20%7.1CVE-2026-54056Kovidgoyal kitty link following vulnerabilityKitty 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 overwr…EPSS 0.38%

Source: NIST National Vulnerability Database (record CVE-2026-54055), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.