SecurityContext

CVE-2025-52991: Nix, Lix, Guix - Broken Access Control

  • Cve: CVE-2025-52991
  • Name: Nix, Lix, Guix - Broken Access Control
  • 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.
  • Impact: Local users can manipulate build directories, potentially leading to unauthorized actions or data manipulation.
  • Remediation: Upgrade Nix to >= 2.24.15, 2.26.4, 2.28.4, 2.29.1; Lix to >= 2.91.2, 2.92.2, 2.93.1; Guix to >= 1.4.0-38.0e79d5b or latest versions
  • Vulnerability type: broken_access_control
  • Vulnerability impact: broken_access_control, data_tampering
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: low
  • Cvss score: 3.2
  • Cvss vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N
  • Epss score: 0.00178
  • Epss percentile: 0.07319
  • Assignee: [email protected]
  • Published at: 2025-06-27T14:15:41Z
  • Age in days: 515
  • Modified at: 2026-06-17T09:37:25Z
  • Patch available: yes
  • References total: 6
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-52991
  • Nvd status: deferred
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-276Incorrect Default Permissions

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://discourse.nixos.org/t/security-advisory-privilege-escalations-in-nix-lix-and-guix/66017
https://guix.gnu.org/en/blog/2025/privilege-escalation-vulnerabilities-2025/
https://labs.snyk.io
https://lix.systems/blog/2025-06-24-lix-cves/
https://security-tracker.debian.org/tracker/CVE-2025-52991
https://security.snyk.io/vuln/?search=CVE-2025-52991

Products

ProductAffectedPlatform boundSourcesUrl
nixos:nix>= 2.29.0, < 2.29.1; >= 2.27.0, < 2.28.4; >= 2.25.0, < 2.26.4; < 2.24.15nocna/v1/products/nixos/nix

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts