CVE-2025-52991
published low CVSS 3.1 · 3.2Nix vulnerability
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| NixOS | — | Nix0 to < 2.24.15 · 2.25.0 to < 2.26.4 · 2.27.0 to < 2.28.4 · 2.29.0 to < 2.29.1 · Other versions: unaffected | Affected | Not stated | mitre |
| SUSE / openSUSE | openSUSE-Tumbleweed | nixaarch64 | Advisory build | 2.29.1-1.1 | OPENSUSE-SU-2025:15248-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nixppc64le | Advisory build | 2.29.1-1.1 | OPENSUSE-SU-2025:15248-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nixs390x | Advisory build | 2.29.1-1.1 | OPENSUSE-SU-2025:15248-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nixx86_64 | Advisory build | 2.29.1-1.1 | OPENSUSE-SU-2025:15248-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nix-bash-completionaarch64 | Advisory build | 2.29.1-1.1 | OPENSUSE-SU-2025:15248-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nix-bash-completionppc64le | Advisory build | 2.29.1-1.1 | OPENSUSE-SU-2025:15248-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nix-bash-completions390x | Advisory build | 2.29.1-1.1 | OPENSUSE-SU-2025:15248-1 |
Show 17 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | nix-bash-completionx86_64 | Advisory build | 2.29.1-1.1 | OPENSUSE-SU-2025:15248-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nix-develaarch64 | Advisory build | 2.29.1-1.1 | OPENSUSE-SU-2025:15248-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nix-develppc64le | Advisory build | 2.29.1-1.1 | OPENSUSE-SU-2025:15248-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nix-devels390x | Advisory build | 2.29.1-1.1 | OPENSUSE-SU-2025:15248-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nix-develx86_64 | Advisory build | 2.29.1-1.1 | OPENSUSE-SU-2025:15248-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nix-docaarch64 | Advisory build | 2.29.1-1.1 | OPENSUSE-SU-2025:15248-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nix-docppc64le | Advisory build | 2.29.1-1.1 | OPENSUSE-SU-2025:15248-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nix-docs390x | Advisory build | 2.29.1-1.1 | OPENSUSE-SU-2025:15248-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nix-docx86_64 | Advisory build | 2.29.1-1.1 | OPENSUSE-SU-2025:15248-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nix-fish-completionaarch64 | Advisory build | 2.29.1-1.1 | OPENSUSE-SU-2025:15248-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nix-fish-completionppc64le | Advisory build | 2.29.1-1.1 | OPENSUSE-SU-2025:15248-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nix-fish-completions390x | Advisory build | 2.29.1-1.1 | OPENSUSE-SU-2025:15248-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nix-fish-completionx86_64 | Advisory build | 2.29.1-1.1 | OPENSUSE-SU-2025:15248-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nix-zsh-completionaarch64 | Advisory build | 2.29.1-1.1 | OPENSUSE-SU-2025:15248-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nix-zsh-completionppc64le | Advisory build | 2.29.1-1.1 | OPENSUSE-SU-2025:15248-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nix-zsh-completions390x | Advisory build | 2.29.1-1.1 | OPENSUSE-SU-2025:15248-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nix-zsh-completionx86_64 | Advisory build | 2.29.1-1.1 | OPENSUSE-SU-2025:15248-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 3.2 / 10
- Severity
- low
- Provider
- mitre · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| NixOS | Nix | 0 to < 2.24.15 (affected · semver)2.25.0 to < 2.26.4 (affected · semver)2.27.0 to < 2.28.4 (affected · semver)2.29.0 to < 2.29.1 (affected · semver)Default: unaffected | mitre · cna |
Weaknesses
1- CWE-276 CWE-276 Incorrect Default Permissions
References
6- 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
Provider assertions
2mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 6b9fadb7aeba32190d168cfee3396e783e8f4d3e58b5418d3454da0d7fa8c66d
- Ingested
- 23 Sep 2026, 08:52:27 UTC
- Source record
- Official CVE record