CVE-2025-46416
2.9
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| NixOS | Nix | 0 <= 2.24.15 | affected |
| NixOS | Nix | 2.25.0 <= 2.26.4 | affected |
| NixOS | Nix | 2.27.0 <= 2.28.4 | affected |
| NixOS | Nix | 2.29.0 <= 2.29.1 | affected |
Weaknesses
- CWE-282: CWE-282 Improper Ownership Management
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: no
- Technical Impact: partial
References
- https://discourse.nixos.org/t/security-advisory-privilege-escalations-in-nix-lix-and-guix/66017
- https://lix.systems/blog/2025-06-24-lix-cves/
- https://guix.gnu.org/en/blog/2025/privilege-escalation-vulnerabilities-2025/
- https://labs.snyk.io
- https://security.snyk.io/vuln/?search=CVE-2025-46416
- https://security-tracker.debian.org/tracker/CVE-2025-46416
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.