CVE-2025-52993
published medium CVSS 3.1 · 5.6Nix 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
A race condition in the Nix, Lix, and Guix package managers enables changing the ownership of arbitrary files to the UID and GID of the build user (e.g., nixbld* or guixbuild*). 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
- 5.6 / 10
- Severity
- medium
- Provider
- mitre · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L
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-362 CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
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-52993
- https://security.snyk.io/vuln/?search=CVE-2025-52993
Provider assertions
2mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- f54b47e9b9db5ebda320263a8b27f75e240e8de07097e5a272c937c4529646b6
- Ingested
- 23 Sep 2026, 08:52:27 UTC
- Source record
- Official CVE record