# CVE-2025-52993: A race condition in the Nix, Lix, and Guix package managers enables changing the ownership of arbitrary files to the UID and GID of the bui…

- Severity: Medium 5.6 (CVSS:3.1, scored by mitre) `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.14%, higher than 3% of CVEs (2026-12-01)
- Published: 2025-06-27T00:00:00.000Z
- Modified: 2026-06-17T09:37:26.120Z
- Weaknesses: CWE-362
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## Description

A race condition in the Nix, Lix, and Guix package managers enables changing the ownership of arbitrary files to the UID and GID of the build user (e.g., nixbld* or guixbuild*). 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.

(As written by CVE List.)

## Affected

- NixOS Nix: before 2.24.15; from 2.25.0 before 2.26.4; from 2.27.0 before 2.28.4; from 2.29.0 before 2.29.1

## References

- <https://discourse.nixos.org/t/security-advisory-privilege-escalations-in-nix-lix-and-guix/66017>
- <https://lix.systems/blog/2025-06-24-lix-cves/>
- <https://guix.gnu.org/en/blog/2025/privilege-escalation-vulnerabilities-2025/>
- <https://labs.snyk.io>
- <https://security.snyk.io/vuln/?search=CVE-2025-52993>
- <https://security-tracker.debian.org/tracker/CVE-2025-52993>

## Sources

- CVE List: [CVE-2025-52993](https://www.cve.org/CVERecord?id=CVE-2025-52993), CVE Terms of Use, modified 2025-06-27
- NVD: [CVE-2025-52993](https://nvd.nist.gov/vuln/detail/CVE-2025-52993), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-52993 · Whole record: https://cve.day/CVE-2025-52993.json · Rebuilt by cve.day 2026-11-25T22:59:00.296Z
