
CVE catalog
CVE-2026-64846
Nix is a package manager for Linux and other Unix systems. Prior to 2.35.0, a malicious derivation executed with the recursive-nix experimental feature can exploit a time-of-check/time-of-use race inv
- Severity
- Low · CVSS 2.8
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:N - Published
- Updated
- Source
- [NVD] · [CVE record]
- EPSS
- 0.11% · Oct 25, 2026
Nix is a package manager for Linux and other Unix systems. Prior to 2.35.0, a malicious derivation executed with the recursive-nix experimental feature can exploit a time-of-check/time-of-use race involving final symlink handling in the LocalStore restore path. The race can cause writeFile to follow a substituted final symlink when opening a path with O_TRUNC instead of enforcing FinalSymlink::DontFollow, allowing the Nix process or nix-daemon to create or truncate an empty file outside the build sandbox with the daemon user's permissions. The primitive does not provide arbitrary-content writes and requires winning the race. This issue is fixed in version 2.35.0.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | nix | sid | 2.34.8+dfsg-1 | vulnerable |
| Debian | nix | forky | 2.34.8+dfsg-1 | vulnerable |
| Debian | nix | trixie | 2.26.3+dfsg-1 | vulnerable |
| Debian | nix | bookworm | 2.8.0-1.1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | nix | source | sid | (unfixed) | not yet assigned | Not reported | [1145021] |
| Debian | nix | source | forky | (unfixed) | not yet assigned | Not reported | [1145021] |
| Debian | nix | source | trixie | (unfixed) | not yet assigned | Not reported | [1145021] |
| Debian | nix | source | bookworm | (unfixed) | not yet assigned | Not reported | [1145021] |
Notes
[trixie] nix: Minor issue [bookworm] nix: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [nix-bin]Affected
Source package: [nix]
Details (2)
2.8.0-1.1· arm64 · bookwormAffected
nvd · nix · debian · bookworm; nvd · nix · debian · 12
2.8.0-1.1+b1· amd64 · bookwormAffected
nvd · nix · debian · bookworm; nvd · nix · debian · 12
- [nix-setup-systemd]Affected
Source package: [nix]
Details (2)
2.8.0-1.1· all · bookwormAffected
nvd · nix · debian · bookworm; nvd · nix · debian · 12
2.8.0-1.1· all · bookwormAffected
nvd · nix · debian · bookworm; nvd · nix · debian · 12
[Debian 13 (Trixie)]
- [nix-bin]Affected
Source package: [nix]
Details (2)
2.26.3+dfsg-1· amd64 · trixieAffected
nvd · nix · debian · 13
2.26.3+dfsg-1· arm64 · trixieAffected
nvd · nix · debian · 13
- [nix-setup-systemd]Affected
Source package: [nix]
Details (2)
2.26.3+dfsg-1· all · trixieAffected
nvd · nix · debian · 13
2.26.3+dfsg-1· all · trixieAffected
nvd · nix · debian · 13
Observed:
References
- [https://nvd.nist.gov/vuln/detail/CVE-2026-64846]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-64846]
- [https://security-tracker.debian.org/tracker/CVE-2026-64846]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-64846.json]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]