CVE-2025-52991

Description

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.

Category

3.2
CVSS
Severity: Low
CVSS 3.1 •
EPSS 0.02%
Affected: NixOS Nix
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2025-52991?
CVE-2025-52991 has been scored as a low severity vulnerability.
How to fix CVE-2025-52991?
To fix CVE-2025-52991, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2025-52991 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2025-52991 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2025-52991?
CVE-2025-52991 affects NixOS Nix.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.