> CVE-2026-54055 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2026-06-12 20:16
MODIFIED
2026-06-12 20:16
CVSS_SCORE V3
5.0
EPSS (Prob. Exploit)
0.10%
Top 99.4%
DATA SOURCES:
NVD 🔗 2026-06-12 CWE MITRE 🔗 2026-11-01 FIRST EPSS 🔗 2026-10-25 OSV 🔗 2026-09-20

> 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.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:L
EXPLOITABILITY
0.8
IMPACT
4.2

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:L
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Local (L)
Exploit nécessite un accès local au système
AC (Complexité d'Attaque)
Attack Complexity
High (H)
Conditions spécifiques doivent être réunies pour exploiter
PR (Privilèges Requis)
Privileges Required
Low (L)
Authentifié avec compte utilisateur basique
UI (Interaction Utilisateur)
User Interaction
Required (R)
Nécessite une action utilisateur (clic lien, ouverture fichier, etc.)
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
None (N)
Aucune divulgation d'informations
I (Impact Intégrité)
Integrity Impact
High (H)
Modification totale des données possible
A (Impact Disponibilité)
Availability Impact
Low (L)
Interruption partielle du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
None
Aucune divulgation d'informations
Intégrité
High
Modification totale des données possible
Disponibilité
Low
Interruption partielle du service possible

> WEAKNESSES

CWE-59 CWE-367 CWE-426

> CWE DETAILED DESCRIPTIONS

CWE-59: Improper Link Resolution Before File Access - The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource. | CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition - The product checks the state of a resource before using that resource, but the resource's state can change between the check and the use in a way that invalidates the results of the check. | CWE-426: Untrusted Search Path - The product searches for critical resources using an externally-supplied search path that can point to resources that are not under the product's direct control.

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

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

AFFECTED PACKAGES:
Unknown / Unknown
137 versions affected
ALIASES:
GHSA-q446-x7q6-vcxh

> HISTORIQUE DES MODIFICATIONS

Première apparition
12/06/2026 20:16
Source: NVD
📊 ENRICHISSEMENT 01/11/2026 06:59
CWE
Champ modifié: Description CWE
Ancienne valeur:
CWE-59: Improper Link Resolution Before File Access ('Link Following') - The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a ...
Nouvelle valeur:
CWE-59: Improper Link Resolution Before File Access - The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut th...
📊 ENRICHISSEMENT 01/07/2026 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-59: Improper Link Resolution Before File Access ('Link Following') - The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a ...
Total des modifications: 2 Dernière mise à jour: 6 days ago

> REFERENCES

https://github.com/kovidgoyal/kitty/security/advisories/GHSA-q446-x7q6-vcxh
« BACK_TO_HOME