{"id":"CVE-2025-52991","aliases":["CVE-2025-52991"],"related":[],"kind":"vulnerability","state":"published","title":"The Nix, Lix, and Guix package managers default to using temporary build directories in a world-readable and world-writable location.","summary":"The Nix, Lix, and Guix package managers default to using temporary build directories in a world-readable and world-writable location. This allows standard users to deceive the package manager into using directories with pre-existing content, potentially leading to unauthorized actions or data manipulation. 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"The Nix, Lix, and Guix package managers default to using temporary build directories in a world-readable and world-writable location. This allows standard users to deceive the package manager into using directories with pre-existing content, potentially leading to unauthorized actions or data manipulation. 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.","source":"cvelist"},{"lang":"es","text":"Los gestores de paquetes Nix, Lix y Guix utilizan por defecto directorios de compilación temporales en una ubicación legible y modificable para todos. Esto permite a los usuarios estándar engañar al gestor de paquetes para que utilice directorios con contenido preexistente, lo que podría provocar acciones no autorizadas o manipulación de datos. Esto afecta a Nix anteriores a las versiones 2.24.15, 2.26.4, 2.28.4 y 2.29.1; Lix anteriores a las versiones 2.91.2, 2.92.2 y 2.93.1; y Guix anteriores a la versión 1.4.0-38.0e79d5b.","source":"nvd"}],"published":"2025-06-27T00:00:00.000Z","modified":"2026-06-17T09:37:25.700Z","severity":{"scorer":"mitre","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N","score":3.2,"rating":"LOW"},"severities":[{"scorer":"mitre","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N","score":3.2,"rating":"LOW"}],"cwes":["CWE-276"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"2.24.15","status":"affected"},{"type":"semver","introduced":"2.25.0","fixed":"2.26.4","status":"affected"},{"type":"semver","introduced":"2.27.0","fixed":"2.28.4","status":"affected"},{"type":"semver","introduced":"2.29.0","fixed":"2.29.1","status":"affected"}],"vendor":"NixOS","product":"Nix","source":"cvelist"}],"references":[{"url":"https://discourse.nixos.org/t/security-advisory-privilege-escalations-in-nix-lix-and-guix/66017","tags":[],"sources":["cvelist","nvd"]},{"url":"https://lix.systems/blog/2025-06-24-lix-cves/","tags":[],"sources":["cvelist","nvd"]},{"url":"https://guix.gnu.org/en/blog/2025/privilege-escalation-vulnerabilities-2025/","tags":[],"sources":["cvelist","nvd"]},{"url":"https://security.snyk.io/vuln/?search=CVE-2025-52991","tags":[],"sources":["cvelist","nvd"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-52991","tags":[],"sources":["cvelist","nvd"]},{"url":"https://labs.snyk.io","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-06-27T15:21:20.719Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-52991","url":"https://www.cve.org/CVERecord?id=CVE-2025-52991","licence":"CVE Terms of Use","modified":"2025-06-27T15:46:39.932Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-52991","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-52991","licence":"Public domain","modified":"2026-06-17T09:37:25.700Z"}],"updatedAt":"2026-11-25T22:59:00.295Z","epss":{"score":0.00178,"percentile":0.07735,"date":"2026-12-01T12:00:22.000Z"}}