CVE-2025-52991

published 27 Jun 2025 · updated 27 Jun 2025

The Nix, Lix, and Guix package managers default to using temporary build directories in a world-readable and world-writable location

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 default to using temporary build directories in a world-readable and world-writable location. This allows standard users to deceive the package manager into using directories with pre-existing content, potentially leading to unauthorized actions or data manipulation. 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-52991 severity on Zeptric[![CVE-2025-52991](https://zeptric.io/badge/cve/CVE-2025-52991.svg)](https://zeptric.io/cve/CVE-2025-52991)