
CVE catalog
CVE-2026-39860
Nix is a package manager for Linux and other Unix systems. A bug in the fix for CVE-2024-27297 allowed for arbitrary overwrites of files writable by the Nix process orchestrating the builds (typically
- Severity
- Critical · CVSS 9
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.19% · Oct 25, 2026
Nix is a package manager for Linux and other Unix systems. A bug in the fix for CVE-2024-27297 allowed for arbitrary overwrites of files writable by the Nix process orchestrating the builds (typically the Nix daemon running as root in multi-user installations) by following symlinks during fixed-output derivation output registration. This affects sandboxed Linux builds - sandboxed macOS builds are unaffected. The location of the temporary output used for the output copy was located inside the build chroot. A symlink, pointing to an arbitrary location in the filesystem, could be created by the derivation builder at that path. During output registration, the Nix process (running in the host mount namespace) would follow that symlink and overwrite the destination with the derivation's output contents. In multi-user installations, this allows all users able to submit builds to the Nix daemon (allowed-users - defaulting to all users) to gain root privileges by modifying sensitive files. This vulnerability is fixed in 2.34.5, 2.33.4, 2.32.7, 2.31.4, 2.30.4, 2.29.3, and 2.28.6.
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 | fixed |
| Debian | nix | forky | 2.34.8+dfsg-1 | fixed |
| Debian | nix | trixie | 2.26.3+dfsg-1 | vulnerable |
| Debian | nix | bookworm | 2.8.0-1.1 | not affected |
| Cpe | nix | Not reported | Not reported | vulnerable |
| Cpe | nix | Not reported | Not reported | unknown |
| Cpe | nix | Not reported | 2.28.6 | fixed |
| Cpe | nix | Not reported | 2.29.3 | fixed |
| Cpe | nix | Not reported | 2.30.4 | fixed |
| Cpe | nix | Not reported | 2.31.4 | fixed |
| Cpe | nix | Not reported | 2.32.7 | fixed |
| Cpe | nix | Not reported | 2.33.4 | fixed |
| Cpe | nix | Not reported | 2.34.5 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | nix | source | sid | 2.34.6+dfsg-1 | not yet assigned | Not reported | [1133004] |
| Debian | nix | source | forky | 2.34.6+dfsg-1 | not yet assigned | Not reported | [1133004] |
| Debian | nix | source | trixie | (unfixed) | not yet assigned | Not reported | [1133004] |
| Debian | nix | source | bookworm | Not affected | unimportant | Not reported | [1133004] |
| Cpe | nix | cpe | Not reported | 2.28.6 | Not reported | Not reported | Not reported |
| Cpe | nix | cpe | Not reported | 2.29.3 | Not reported | Not reported | Not reported |
| Cpe | nix | cpe | Not reported | 2.30.4 | Not reported | Not reported | Not reported |
| Cpe | nix | cpe | Not reported | 2.31.4 | Not reported | Not reported | Not reported |
| Cpe | nix | cpe | Not reported | 2.32.7 | Not reported | Not reported | Not reported |
| Cpe | nix | cpe | Not reported | 2.33.4 | Not reported | Not reported | Not reported |
| Cpe | nix | cpe | Not reported | 2.34.5 | Not reported | Not reported | Not reported |
Notes
[trixie] nix: Minor issue
OpenFactory catalog packages
[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
[Debian 12 (Bookworm)]
- [nix-bin]Not affected
Source package: [nix]
Details (2)
2.8.0-1.1· arm64 · bookwormNot affected
nvd · nix · debian · bookworm
2.8.0-1.1+b1· amd64 · bookwormNot affected
nvd · nix · debian · bookworm
- [nix-setup-systemd]Not affected
Source package: [nix]
Details (2)
2.8.0-1.1· all · bookwormNot affected
nvd · nix · debian · bookworm
2.8.0-1.1· all · bookwormNot affected
nvd · nix · debian · bookworm
Observed:
References
- [https://nvd.nist.gov/vuln/detail/CVE-2026-39860]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-39860]
- [https://security-tracker.debian.org/tracker/CVE-2026-39860]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-39860.json]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]