CVE-2025-52993 Details
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.
A race condition vulnerability has been identified in the Nix, Lix, and Guix package managers, allowing for the unauthorized change of file ownership to the user ID and group ID of the build user (such as 'nixbld*' or 'guixbuild*'). This vulnerability affects multiple versions of Nix (prior to 2.24.15, 2.26.4, 2.28.4, and 2.29.1), Lix (prior to 2.91.2, 2.92.2, and 2.93.1), and Guix (prior to 1.4.0-38.0e79d5b). The issue arises from how these package managers handle temporary directories and file descriptors during the build process, creating a window of opportunity for privilege escalation.
Users are advised to upgrade to Nix versions 2.24.15, 2.26.4, 2.28.4, or 2.29.1; Lix versions 2.91.2, 2.92.2, or 2.93.1; and Guix version 1.4.0-38.0e79d5b. Instructions for upgrading are available on the Nix, Lix, and Guix blogs.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 27, 2025CISA-ADP
Assessed Jun 27, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://discourse.nixos.org/t/security-advisory-privilege-escalations-in-nix-lix-and-guix/66017 | [email protected] | AdvisoryBundleMailing List |
| https://guix.gnu.org/en/blog/2025/privilege-escalation-vulnerabilities-2025/ | [email protected] | BundleRemedyVendor |
| https://labs.snyk.io | [email protected] | Not Applicable |
| https://lix.systems/blog/2025-06-24-lix-cves/ | [email protected] | AdvisoryBundleRemedy |
| https://security.snyk.io/vuln/?search=CVE-2025-52993 | [email protected] | |
| https://security-tracker.debian.org/tracker/CVE-2025-52993 | [email protected] | AdvisoryBundleVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-362 | Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Nix | <= 2.24.14 (semver) <= 2.26.3 (semver) <= 2.28.3 (semver) <= 2.29.0 (semver) |
CPE
Remediation
| |
| Lix | <= 2.91.1 (semver) <= 2.92.1 (semver) <= 2.93.0 (semver) |
CPE
Remediation
| |
| Guix | <= 1.4.0-37.096dedd (semver) |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 27, 2025 | New CVE Received | [email protected] |
Volerion