CVE-2025-46415 Details
Description
A race condition in the Nix, Lix, and Guix package managers allows the removal of content from arbitrary folders. 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 local users to delete files from arbitrary directories. This issue arises from a flawed recursive deletion function that fails to properly manage temporary file paths, creating a window for exploitation. The vulnerability affects Nix versions prior to 2.24.15, 2.26.4, 2.28.4, and 2.29.1; Lix versions prior to 2.91.2, 2.92.2, and 2.93.1; and Guix versions prior to 1.4.0-38.0e79d5b.
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 Guix on NixOS and other distributions are available on the Guix website.
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] | AdvisoryBundleRemedyVendor |
| 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-46415 | [email protected] | |
| https://security-tracker.debian.org/tracker/CVE-2025-46415 | [email protected] | AdvisoryBundleVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-367 | Time-of-check Time-of-use (TOCTOU) 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