CVE-2025-52992 Details
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.
A vulnerability exists in the Nix, Lix, and Guix package managers due to improper permission handling when a derivation build fails. This flaw may enable arbitrary processes to alter store contents outside the designated build sandbox. The issue affects multiple versions across all three package managers: Nix versions prior to 2.24.15, 2.26.4, 2.28.4, and 2.29.1; Lix versions prior to 2.91.2, 2.92.2, and 2.93.1; and Guix versions prior to 1.4.0-38.0e79d5b.
Users are advised to upgrade to Nix versions 2.24.15, 2.26.4, 2.28.4, or 2.29.1; Lix versions 2.91.2, 2.92.2, or 2.93.1; and Guix version 1.4.0-38.0e79d5b.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 27, 2025CISA-ADP
Assessed Jun 27, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://discourse.nixos.org/t/security-advisory-privilege-escalations-in-nix-lix-and-guix/66017 | [email protected] | AdvisoryBundleMailing List |
| https://guix.gnu.org/en/blog/2025/privilege-escalation-vulnerabilities-2025/ | [email protected] | AdvisoryBundleRemedyVendor |
| https://labs.snyk.io | [email protected] | Not Applicable |
| https://lix.systems/blog/2025-06-24-lix-cves/ | [email protected] | AdvisoryBundleRemedy |
| https://security.snyk.io/vuln/?search=CVE-2025-52992 | [email protected] | |
| https://security-tracker.debian.org/tracker/CVE-2025-52992 | [email protected] | AdvisoryBundleVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-732 | Incorrect Permission Assignment for Critical Resource | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Nix | <= 2.24.14 (semver) <= 2.26.3 (semver) <= 2.28.3 (semver) <= 2.29.0 (semver) |
CPE
Remediation
| |
| Lix | <= 2.91.1 (semver) <= 2.92.1 (semver) <= 2.93.0 (semver) |
CPE
Remediation
| |
| Guix | <= 1.4.0-37.096dedd (semver) |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 27, 2025 | New CVE Received | [email protected] |
Volerion