Vulnerability · Published Jun 27, 2025 · Assigned by mitre

CVE-2025-52992

Low 3.2

In plain English

A low-severity incorrect permission assignment 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.2% (higher than 7% of all known vulnerabilities).

Severity (CVSS 3.1)3.2Low
Exploit odds (30 days)0.2%top 93.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

The Nix, Lix, and Guix package managers fail to properly set permissions when a derivation build fails. This may allow arbitrary processes to modify the content of a store outside of the build sandbox. This affects Nix before 2.24.15, 2.26.4, 2.28.4, and 2.29.1; Lix before 2.91.2, 2.92.2, and 2.93.1; and Guix before 1.4.0-38.0e79d5b.

Affected products (as reported)

VendorProductVersions
NixOS Nix 0 – before 2.24.152.25.0 – before 2.26.42.27.0 – before 2.28.42.29.0 – before 2.29.1

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

References