CVE-2025-52992
JSON

3.2low

The Nix, Lix, and Guix package managers fail to properly set permissions when a derivation build fails.

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 fail to properly set permissions when a derivation build fails. This may allow arbitrary processes to modify the content of a store outside of the build sandbox. 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-732

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

What each source says

CVE List

The Nix, Lix, and Guix package managers fail to properly set permissions when a derivation build fails. This may allow arbitrary processes to modify the content of a store outside of the build sandbox. 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 no configuran correctamente los permisos cuando falla una compilación derivada. Esto puede permitir que procesos arbitrarios modifiquen el contenido de un almacén fuera del entorno de pruebas de compilación. Esto afecta a Nix anteriores a 2.24.15, 2.26.4, 2.28.4 y 2.29.1; Lix anteriores a 2.91.2, 2.92.2 y 2.93.1; y Guix anteriores a 1.4.0-38.0e79d5b.

References

Sources

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