{"id":"CVE-2025-52992","published":"2025-06-27T00:00:00Z","modified":"2025-06-27T15:18:30Z","title":"The Nix, Lix, and Guix package managers fail to properly set permissions when a derivation build fails","vendor":"NixOS","product":"Nix","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.2,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00245,"percentile":0.09496,"provenance":"source"},"cwes":[{"id":"CWE-732","name":"Incorrect Permission Assignment for Critical Resource"}],"references":[{"url":"https://discourse.nixos.org/t/security-advisory-privilege-escalations-in-nix-lix-and-guix/66017","tags":[]},{"url":"https://lix.systems/blog/2025-06-24-lix-cves/","tags":[]},{"url":"https://guix.gnu.org/en/blog/2025/privilege-escalation-vulnerabilities-2025/","tags":[]},{"url":"https://labs.snyk.io","tags":[]},{"url":"https://security.snyk.io/vuln/?search=CVE-2025-52992","tags":[]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-52992","tags":[]}],"priority":{"score":4.1,"factors":[{"name":"EPSS percentile","points":1.9},{"name":"CVSS severity","points":2.24}]},"vendorSlug":"nixos","affectedVersions":[{"vendor":"NixOS","product":"Nix","versions":["< 2.24.15",">= 2.25.0, < 2.26.4",">= 2.27.0, < 2.28.4",">= 2.29.0, < 2.29.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-06-27T15:17:46.777042Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-19380","exploited":false,"provenance":"source"}}