CVE-2025-52992

Low

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.

SeverityLow
CVSS3.2
Exploit probability—
ProductNix
PublishedJun 27, 2025
First seenJun 27, 2025
Weakness typeCWE-732CWE-732

How to fix

Update
  • NixOS Nix2.24.15, 2.26.4, 2.28.4, 2.29.1 or later

Affected products

ProductAffected versionsFixed in
NixOS Nixv < 2.24.15, 2.25.0 ≤ v < 2.26.4, 2.27.0 ≤ v < 2.28.4, 2.29.0 ≤ v < 2.29.12.24.15, 2.26.4, 2.28.4, 2.29.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.