Vulnerability · Published Jul 14, 2025 · Assigned by GitHub_M
CVE-2025-53819Nix's privilege dropping to build user broke for macOS
High 7.9
In plain English
A high-severity security flaw in nix from NixOS. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 4% of all known vulnerabilities).
Severity (CVSS 3.1)7.9High
Exploit odds (30 days)0.1%top 96.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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.
Affected products (as reported)
Weakness: CWE-271 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:L
References
- https://github.com/NixOS/nix/security/advisories/GHSA-qc7j-jgf3-qmhg x_refsource_CONFIRM
- https://github.com/NixOS/nix/pull/13281 x_refsource_MISC
- https://github.com/NixOS/nix/pull/13455 x_refsource_MISC
- https://github.com/NixOS/nix/commit/e2ef2cfcbc83ea01308ee64c38a58707ab23dec3 x_refsource_MISC