CVE-2025-52992 json
The Nix, Lix, and Guix package managers fail to properly set permissions when a derivation build fails.
published 2025-06-27 16 mo ago modified 2026-06-17 4 mo ago also EUVD-2025-19380
- cvss
- 3.2
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 6%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- NixOS Nix 2.24.15, 2.26.4, 2.28.4, 2.29.1
- nix openSUSE Tumbleweed 2.29.1-1.1
opensuse advisories openSUSE-SU-2025:15248-1
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 16 mo ago
Exploit prediction
0.17% chance of exploitation in the next 30 days, higher than 6% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 3.2 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N |
Affected products
- NixOS Nix
Classification
- Weakness
-
- CWE-732 Incorrect Permission Assignment for Critical Resource
References
- discourse.nixos.org /t/security-advisory-privilege-escalations-in-nix-lix-and-guix/66017
- lix.systems /blog/2025-06-24-lix-cves/
- guix.gnu.org /en/blog/2025/privilege-escalation-vulnerabilities-2025/
- labs.snyk.io
- security.snyk.io /vuln/?search=CVE-2025-52992
- security-tracker.debian.org /tracker/CVE-2025-52992
Sources
- CVE List CVE-2025-52992
- NVD CVE-2025-52992
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.