Advisory

DEBIAN-CVE-2026-54055

Also known as: CVE-2026-54055

Summary

The record has no summary.

Details

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

Medium Basis: CVSS v3 score 5, vector CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:L

Dates

Published
2026-06-12 20:16 UTC
Modified
2026-10-27 09:47 UTC

Affected packages and fixes

kitty

Debian packages (deb) · Debian 12

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

kitty

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 0.41.1-2+deb13u2 (ecosystem)

Fixed versions

0.41.1-2+deb13u2

Fix

  • Fixed version 0.41.1-2+deb13u2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

kitty

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 0.47.3-1 (ecosystem)

Fixed versions

0.47.3-1

Fix

  • Fixed version 0.47.3-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences