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)

VendorProductVersions
NixOS nix = 2.30.0

Weakness: CWE-271 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:L

References