{"id":"CVE-2025-52991","sourceIdentifier":"cve@mitre.org","published":"2025-06-27T14:15:41.253","lastModified":"2026-06-17T09:37:25.700","vulnStatus":"Deferred","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"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."}],"affected":[{"source":"cve@mitre.org","affectedData":[{"vendor":"NixOS","product":"Nix","defaultStatus":"unaffected","versions":[{"version":"0","lessThan":"2.24.15","versionType":"semver","status":"affected"},{"version":"2.25.0","lessThan":"2.26.4","versionType":"semver","status":"affected"},{"version":"2.27.0","lessThan":"2.28.4","versionType":"semver","status":"affected"},{"version":"2.29.0","lessThan":"2.29.1","versionType":"semver","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"cve@mitre.org","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N","baseScore":3.2,"baseSeverity":"LOW","attackVector":"LOCAL","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"NONE","integrityImpact":"LOW","availabilityImpact":"NONE"},"exploitabilityScore":1.4,"impactScore":1.4}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2025-06-27T15:21:20.719431Z","id":"CVE-2025-52991","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"cve@mitre.org","type":"Secondary","description":[{"lang":"en","value":"CWE-276"}]}],"references":[{"url":"https://discourse.nixos.org/t/security-advisory-privilege-escalations-in-nix-lix-and-guix/66017","source":"cve@mitre.org"},{"url":"https://guix.gnu.org/en/blog/2025/privilege-escalation-vulnerabilities-2025/","source":"cve@mitre.org"},{"url":"https://labs.snyk.io","source":"cve@mitre.org"},{"url":"https://lix.systems/blog/2025-06-24-lix-cves/","source":"cve@mitre.org"},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-52991","source":"cve@mitre.org"},{"url":"https://security.snyk.io/vuln/?search=CVE-2025-52991","source":"cve@mitre.org"}]}