CVE-2025-52991
lowpriority · track · 0OT risk · elevatedEPSS 0.002 · 6 %ileEURUUSEPSS · scored 2026-10-28
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (12)
Products and version ranges known to be affected.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (19)
External citations — patches, advisories, analysis.
- https://discourse.nixos.org/t/security-advisory-privilege-escalations-in-nix-lix-and-guix/66017cnnvd
- https://guix.gnu.org/en/blog/2025/privilege-escalation-vulnerabilities-2025/cnnvd
- https://labs.snyk.iocnnvd
- https://lix.systems/blog/2025-06-24-lix-cves/cnnvd
- https://nixos.org/download/Patchcnnvd
- https://security-tracker.debian.org/tracker/CVE-2025-52991cnnvd
- https://security.snyk.io/vuln/?search=CVE-2025-52991cnnvd
- https://discourse.nixos.org/t/security-advisory-privilege-escalations-in-nix-lix-and-guix/66017enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan