{"id":"CVE-2025-46415","state":"PUBLISHED","title":"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 b","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.","publishedAt":"2025-06-27T00:00:00.000Z","updatedAt":"2025-06-27T19:57:56.693Z","severity":{"score":3.2,"label":"Low","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:L","source":"mitre"},"assigner":"mitre","products":["NixOS Nix"],"affected":[{"vendor":"NixOS","product":"Nix","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2.24.15","versionType":"semver"},{"version":"2.25.0","status":"affected","lessThan":"2.26.4","versionType":"semver"},{"version":"2.27.0","status":"affected","lessThan":"2.28.4","versionType":"semver"},{"version":"2.29.0","status":"affected","lessThan":"2.29.1","versionType":"semver"}]}],"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-46415","https://security-tracker.debian.org/tracker/CVE-2025-46415"],"weaknesses":["CWE-367"],"ingestedAt":"2026-10-29T20:09:17.366Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/46xxx/CVE-2025-46415.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-46415","state":"PUBLISHED","datePublished":"2025-06-27T00:00:00.000Z","dateUpdated":"2025-06-27T19:57:56.693Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2025-04-24T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"NixOS","product":"Nix","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2.24.15","versionType":"semver"},{"version":"2.25.0","status":"affected","lessThan":"2.26.4","versionType":"semver"},{"version":"2.27.0","status":"affected","lessThan":"2.28.4","versionType":"semver"},{"version":"2.29.0","status":"affected","lessThan":"2.29.1","versionType":"semver"}]}],"references":[{"url":"https://discourse.nixos.org/t/security-advisory-privilege-escalations-in-nix-lix-and-guix/66017"},{"url":"https://lix.systems/blog/2025-06-24-lix-cves/"},{"url":"https://guix.gnu.org/en/blog/2025/privilege-escalation-vulnerabilities-2025/"},{"url":"https://labs.snyk.io"},{"url":"https://security.snyk.io/vuln/?search=CVE-2025-46415"},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-46415"}],"metrics":[{"cvssV3_1":{"version":"3.1","baseScore":3.2,"baseSeverity":"LOW","vectorString":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:L"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-367","description":"CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"mitre","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateUpdated":"2025-06-27T13:23:22.298Z"},"x_generator":{"engine":"enrichogram 0.0.1"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:nixos:nix:*:*:*:*:*:*:*:*","versionEndExcluding":"2.24.15"},{"vulnerable":true,"criteria":"cpe:2.3:a:nixos:nix:*:*:*:*:*:*:*:*","versionStartIncluding":"2.25.0","versionEndExcluding":"2.26.4"},{"vulnerable":true,"criteria":"cpe:2.3:a:nixos:nix:*:*:*:*:*:*:*:*","versionStartIncluding":"2.27.0","versionEndExcluding":"2.28.4"},{"vulnerable":true,"criteria":"cpe:2.3:a:nixos:nix:*:*:*:*:*:*:*:*","versionStartIncluding":"2.29.0","versionEndExcluding":"2.29.1"}]}]}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-06-27T19:57:42.327675Z","id":"CVE-2025-46415","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-06-27T19:57:56.693Z"}}]}}}