low3.2
CVE-2025-52992
The Nix, Lix, and Guix package managers fail to properly set permissions when a derivation build fails.
Impact
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 products
| Product | Affected versions |
|---|---|
| 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. |
Versions were read from the advisory text. No structured product data has been published for this record yet.
Weakness classification
References
- NVD record
- CVE.org record
- https://discourse.nixos.org/t/security-advisory-privilege-escalations-in-nix-lix-and-guix/66017
- https://guix.gnu.org/en/blog/2025/privilege-escalation-vulnerabilities-2025/
- https://labs.snyk.io
- https://lix.systems/blog/2025-06-24-lix-cves/
- https://security-tracker.debian.org/tracker/CVE-2025-52992
- https://security.snyk.io/vuln/?search=CVE-2025-52992