Skip to main content
CVE-2025-46416VulnerabilityPublished

CVE-2025-46416: NixOS Nix · Improper Ownership Management

Affects NixOS NixSource CVE Database V5

0

Not known to be exploited · CVSS 2.9 Low.

Data as of 26 Oct 2026, 06:26 UTC

CVSS 3.1 base score
2.9Low
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 8% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 27 Jun 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.

What to do

Affected software

ProductAffectedFixed in
NixOS NixAffected
  • =0
  • =2.25.0
  • =2.27.0
  • =2.29.0
Fixed in–

AI-suggested

1. Upgrade to patched versions of Nix, Lix, and Guix as soon as they become available from the respective maintainers. Monitor official channels for security advisories and patches. 2. Restrict local access to build environments and package managers to trusted users only, minimizing the risk of unprivileged users exploiting this vulnerability. 3. Implement strict access controls and auditing on build user accounts (e.g., nixbld, guixbuild) to detect unauthorized privilege escalations. 4. Use containerization or virtualization to further isolate build environments, reducing the impact of privilege escalation within the build user context. 5. Employ integrity verification mechanisms such as reproducible builds and cryptographic signing of build artifacts to detect tampering. 6. Regularly review and harden build environment configurations to ensure ownership and permission settings follow the principle of least privilege. 7. Educate developers and build engineers about the risks of local privilege escalation and enforce policies to prevent unauthorized local access to build systems.

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.

References

Community reviews

Loading reviews…