Skip to main content
VulnerabilityPublished

CVE-2025-53819: NixOS nix · Privilege Dropping / Lowering Errors

Affects NixOS nixSource CVE Database V5

0

Not known to be exploited · CVSS 7.9 High · fixed in 2.30.1 : patch NixOS nix soon.

Data as of 26 Oct 2026, 10:12 UTC

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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 14 Jul 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 26 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
GitHubnixos/nixpkg:github/nixos/nixOther threatsAffected
  • =2.30.0
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

European organizations should immediately audit their environments to identify any instances of Nix version 2.30.0 running on macOS systems. The primary mitigation is to upgrade to Nix 2.30.1 or later, where the privilege dropping issue is resolved. Since no workarounds exist, patching is critical. Additionally, organizations should enforce strict access controls around build environments, limiting who can trigger builds or modify build inputs. Implementing monitoring and alerting for unusual privilege escalations or root-level process executions during builds can help detect exploitation attempts. Employing sandboxing or containerization for build processes may provide an additional security layer. Regularly reviewing and hardening macOS security configurations, including System Integrity Protection (SIP) and user privilege assignments, will reduce the attack surface. Finally, organizations should integrate this vulnerability into their software supply chain risk assessments and incident response plans.

Description

Nix is a package manager for Linux and other Unix systems. Builds with Nix 2.30.0 on macOS were executed with elevated privileges (root), instead of the build users. The fix was applied to Nix 2.30.1. No known workarounds are available.

References

Community reviews

Loading reviews…