CVE-2025-52991
JSON

3.2low

The Nix, Lix, and Guix package managers default to using temporary build directories in a world-readable and world-writable location.

Severity
3.2low CVSS:3.1 by mitre
Exploit likelihood
0.18% (higher than 7% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre

Description

The Nix, Lix, and Guix package managers default to using temporary build directories in a world-readable and world-writable location. This allows standard users to deceive the package manager into using directories with pre-existing content, potentially leading to unauthorized actions or data manipulation. This affects Nix before 2.24.15, 2.26.4, 2.28.4, and 2.29.1; Lix before 2.91.2, 2.92.2, and 2.93.1; and Guix before 1.4.0-38.0e79d5b.

Affected

Product or packageVersionsReported by
NixOS Nixbefore 2.24.15, from 2.25.0 before 2.26.4, from 2.27.0 before 2.28.4, from 2.29.0 before 2.29.1CVE List

Classification

CWE-276

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

The Nix, Lix, and Guix package managers default to using temporary build directories in a world-readable and world-writable location. This allows standard users to deceive the package manager into using directories with pre-existing content, potentially leading to unauthorized actions or data manipulation. This affects Nix before 2.24.15, 2.26.4, 2.28.4, and 2.29.1; Lix before 2.91.2, 2.92.2, and 2.93.1; and Guix before 1.4.0-38.0e79d5b.

NVD (es)

Los gestores de paquetes Nix, Lix y Guix utilizan por defecto directorios de compilación temporales en una ubicación legible y modificable para todos. Esto permite a los usuarios estándar engañar al gestor de paquetes para que utilice directorios con contenido preexistente, lo que podría provocar acciones no autorizadas o manipulación de datos. Esto afecta a Nix anteriores a las versiones 2.24.15, 2.26.4, 2.28.4 y 2.29.1; Lix anteriores a las versiones 2.91.2, 2.92.2 y 2.93.1; y Guix anteriores a la versión 1.4.0-38.0e79d5b.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-52991 changed 2025-06-27CVE Terms of Use
NVDCVE-2025-52991 changed 2026-06-17Public domain