What’s Vulnerable › Vulnerabilities
CVE-2025-52993
- Severity: medium (CVSS 5.6 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-06-27 · updated 2026-06-17
- Weakness: CWE-362
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.
Affected products
- 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 — fixed in 2.24.15, 2.26.4, 2.28.4, 2.29.1
How to fix
Upgrade to a fixed version: NixOS Nix 2.24.15, 2.26.4, 2.28.4, 2.29.1. Check the vendor advisory for mitigations.
References
- https://discourse.nixos.org/t/security-advisory-privilege-escalations-in-nix-lix-and-guix/66017
- https://guix.gnu.org/en/blog/2025/privilege-escalation-vulnerabilities-2025/
- https://labs.snyk.io
- https://lix.systems/blog/2025-06-24-lix-cves/
- https://security-tracker.debian.org/tracker/CVE-2025-52993
- https://security.snyk.io/vuln/?search=CVE-2025-52993
Get alerted when CVE-2025-52993 or the next vulnerability affects your stack