CVE-2025-46416 Details
Description
The Nix, Lix, and Guix package managers allow a bypass of build isolation in which a user can elevate their privileges to the build user account (e.g., nixbld or guixbuild). This affects Nix through 2.24.15, 2.26.4, 2.28.4, and 2.29.1; Lix through 2.91.2, 2.92.2, and 2.93.1; and Guix before 1.4.0-38.0e79d5b.
A vulnerability in the Nix, Lix, and Guix package managers allows users to bypass build isolation and elevate privileges to the build user account. This issue affects Nix versions through 2.24.15, 2.26.4, 2.28.4, and 2.29.1; Lix versions through 2.91.2, 2.92.2, and 2.93.1; and Guix versions prior to 1.4.0-38.0e79d5b. The vulnerability arises from improper handling of temporary directories and the use of abstract Unix-domain sockets, which can be exploited to manipulate build outputs and gain unauthorized privileges.
Users can 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. For NixOS users, instructions are available in the NixOS blog post 'Privilege Escalation Vulnerabilities (CVE-2025-46415, CVE-2025-46416) - 2025'.
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-46416 | [email protected] | |
| https://security-tracker.debian.org/tracker/CVE-2025-46416 | [email protected] | AdvisoryBundleVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-282 | Improper Ownership Management | [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