CVE-2025-52992

published 27 Jun 2025 · updated 27 Jun 2025

The Nix, Lix, and Guix package managers fail to properly set permissions when a derivation build fails

3.2LowCVSS 3.2EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 2.24.15, 2.26.4, 2.28.4 and 1 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
NixOS<2.24.15, >=2.25.0 <2.26.4, >=2.27.0 <2.28.4, >=2.29.0 <2.29.12.24.15, 2.26.4, 2.28.4, 2.29.1

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-52992 severity on Zeptric[![CVE-2025-52992](https://zeptric.io/badge/cve/CVE-2025-52992.svg)](https://zeptric.io/cve/CVE-2025-52992)