{"id":"CVE-2025-46416","state":"PUBLISHED","title":"The Nix, Lix, and Guix package managers allow a bypass of build isolation in which a user can elevate their privileges to the build user account (e.g., nixbld or guixbuild). This a","description":"The Nix, Lix, and Guix package managers allow a bypass of build isolation in which a user can elevate their privileges to the build user account (e.g., nixbld or guixbuild). This affects Nix through 2.24.15, 2.26.4, 2.28.4, and 2.29.1; Lix through 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-27T15:49:08.285Z","severity":{"score":2.9,"label":"Low","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","source":"mitre"},"assigner":"mitre","products":["NixOS Nix"],"affected":[{"vendor":"NixOS","product":"Nix","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThanOrEqual":"2.24.15","versionType":"semver"},{"version":"2.25.0","status":"affected","lessThanOrEqual":"2.26.4","versionType":"semver"},{"version":"2.27.0","status":"affected","lessThanOrEqual":"2.28.4","versionType":"semver"},{"version":"2.29.0","status":"affected","lessThanOrEqual":"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-46416","https://security-tracker.debian.org/tracker/CVE-2025-46416"],"weaknesses":["CWE-282"],"ingestedAt":"2026-10-29T20:09:17.366Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/46xxx/CVE-2025-46416.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-46416","state":"PUBLISHED","datePublished":"2025-06-27T00:00:00.000Z","dateUpdated":"2025-06-27T15:49:08.285Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2025-04-24T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"The Nix, Lix, and Guix package managers allow a bypass of build isolation in which a user can elevate their privileges to the build user account (e.g., nixbld or guixbuild). This affects Nix through 2.24.15, 2.26.4, 2.28.4, and 2.29.1; Lix through 2.91.2, 2.92.2, and 2.93.1; and Guix before 1.4.0-38.0e79d5b."}],"affected":[{"vendor":"NixOS","product":"Nix","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThanOrEqual":"2.24.15","versionType":"semver"},{"version":"2.25.0","status":"affected","lessThanOrEqual":"2.26.4","versionType":"semver"},{"version":"2.27.0","status":"affected","lessThanOrEqual":"2.28.4","versionType":"semver"},{"version":"2.29.0","status":"affected","lessThanOrEqual":"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-46416"},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-46416"}],"metrics":[{"cvssV3_1":{"version":"3.1","baseScore":2.9,"baseSeverity":"LOW","vectorString":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-282","description":"CWE-282 Improper Ownership Management","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"mitre","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateUpdated":"2025-06-27T13:27:26.570Z"},"x_generator":{"engine":"enrichogram 0.0.1"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:nixos:nix:*:*:*:*:*:*:*:*","versionEndIncluding":"2.24.15"},{"vulnerable":true,"criteria":"cpe:2.3:a:nixos:nix:*:*:*:*:*:*:*:*","versionStartIncluding":"2.25.0","versionEndIncluding":"2.26.4"},{"vulnerable":true,"criteria":"cpe:2.3:a:nixos:nix:*:*:*:*:*:*:*:*","versionStartIncluding":"2.27.0","versionEndIncluding":"2.28.4"},{"vulnerable":true,"criteria":"cpe:2.3:a:nixos:nix:*:*:*:*:*:*:*:*","versionStartIncluding":"2.29.0","versionEndIncluding":"2.29.1"}]}]}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-06-27T15:48:56.617817Z","id":"CVE-2025-46416","options":[{"Exploitation":"none"},{"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-27T15:49:08.285Z"}}]}}}