Link Following Affecting kitty package, versions <0.41.1-2+deb13u2


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.07% (1st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-KITTY-18600141
  • published9 Aug 2026
  • disclosed12 Jun 2026

Introduced: 12 Jun 2026

CVE-2026-54055  (opens in a new tab)
CWE-59  (opens in a new tab)
CWE-367  (opens in a new tab)
CWE-426  (opens in a new tab)

How to fix?

Upgrade Echo:latest kitty to version 0.41.1-2+deb13u2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream kitty package and not the kitty package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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.