CVE-2025-52991Incorrect Default Permissions in Guix

Severity
3.2LOWNVD
EPSS
0.0%
top 93.66%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedJun 27

Description

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.

CVSS vector

CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:NExploitability: 1.4 | Impact: 1.4

Affected Packages2 packages

debiandebian/guix
CVEListV5nixos/nix2.25.02.26.4+3

🔴Vulnerability Details

2
OSV
CVE-2025-52991: The Nix, Lix, and Guix package managers default to using temporary build directories in a world-readable and world-writable location2025-06-27
GHSA
GHSA-8vh4-gppm-m3jm: The Nix, Lix, and Guix package managers default to using temporary build directories in a world-readable and world-writable location2025-06-27

📋Vendor Advisories

1
Debian
CVE-2025-52991: guix - The Nix, Lix, and Guix package managers default to using temporary build directo...2025