> CVE-2026-64846 [LOW]

« BACK_TO_HOME
PUBLISHED
2026-08-20 17:19
MODIFIED
2026-08-20 17:19
CVSS_SCORE V3
2.8
EPSS (Prob. Exploit)
0.11%
Top 98.9%
DATA SOURCES:
NVD 🔗 2026-08-20 CWE MITRE 🔗 2026-09-01 FIRST EPSS 🔗 2026-10-18 OSV 🔗 2026-10-26

> DESCRIPTION

Nix is a package manager for Linux and other Unix systems. Prior to 2.35.0, a malicious derivation executed with the recursive-nix experimental feature can exploit a time-of-check/time-of-use race involving final symlink handling in the LocalStore restore path. The race can cause writeFile to follow a substituted final symlink when opening a path with O_TRUNC instead of enforcing FinalSymlink::DontFollow, allowing the Nix process or nix-daemon to create or truncate an empty file outside the build sandbox with the daemon user's permissions. The primitive does not provide arbitrary-content writes and requires winning the race. This issue is fixed in version 2.35.0.

> 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:N/S:C/C:N/I:L/A:N
EXPLOITABILITY
1.1
IMPACT
1.4

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:N
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
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Changed (C)
Impact s'étend au-delà du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
None (N)
Aucune divulgation d'informations
I (Impact Intégrité)
Integrity Impact
Low (L)
Modification limitée des données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
None
Aucune divulgation d'informations
Intégrité
Low
Modification limitée des données possible
Disponibilité
None
Aucune interruption de service

> WEAKNESSES

CWE-61 CWE-367

> CWE DETAILED DESCRIPTIONS

CWE-61: UNIX Symbolic Link (Symlink) Following - The product, when opening a file or directory, does not sufficiently account for when the file is a symbolic link that resolves to a target outside of the intended control sphere. This could allow an attacker to cause the product to operate on unauthorized files. | 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.

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

Nix: Arbitrary file truncation outside the sandbox with recursive-nix experimental feature

AFFECTED PACKAGES:
Unknown / Unknown
19 versions affected
ALIASES:
GHSA-6h4g-g5j9-fm5f

> HISTORIQUE DES MODIFICATIONS

Première apparition
20/08/2026 17:19
Source: NVD
📊 ENRICHISSEMENT 01/09/2026 06:02
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-61: UNIX Symbolic Link (Symlink) Following - The product, when opening a file or directory, does not sufficiently account for when the file is a symbolic link that resolves to a target outside of ...
Total des modifications: 1 Dernière mise à jour: 1 month ago

> REFERENCES

https://github.com/NixOS/nix/commit/26679828f74ee6e82a4100904e6361f993ff5390
https://github.com/NixOS/nix/pull/15401
https://github.com/NixOS/nix/security/advisories/GHSA-6h4g-g5j9-fm5f
« BACK_TO_HOME