CVE-2026-39860 — Nix sandbox escape: file write via symlink at FOD `.tmp` copy destination
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.
Who exploits it and how urgent it is
A 0–100 score combining confirmed exploitation, ransomware and APT use, public exploits, EPSS and severity.
How the score was calculated
- EPSS 0.2% (30-day exploitation probability)+1
- Technical severity (high)+6
The score orders the patch queue; it does not replace your asset context (internet exposure, criticality, compensating controls).
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the sources call it.
CISA SSVC assessment CISA
Three decision points CISA publishes for the CVEs it assesses (SSVC 2.0.3). A stakeholder decision, not a severity score.
Remediation
Fixes and mitigations documented by the sources — linked to the original advisory.
- Documented patch — github.com (NIST National Vulnerability Database)
- Documented patch — github.com (NIST National Vulnerability Database)
- Documented patch — github.com (NIST National Vulnerability Database)
- Documented patch — github.com (NIST National Vulnerability Database)
- Documented patch — github.com (NIST National Vulnerability Database)
- Documented patch — github.com (NIST National Vulnerability Database)
First 24 hours
Ordered from the record’s own fields — exposure first, because you cannot patch what you have not found. A rule-generated starting point.
- Identify exposed assets running the affected vendor/product/version combinations (Nixos Nix).
- Apply the fixed version or the patch documented under Remediation.
- Search available logs for exploit probes, errors and authentication anomalies.
Affected scope
Vendor, product and versions as the sources word them.
| Vendor | Product | Versions | Status | Source |
|---|---|---|---|---|
| Nixos | Nix |
version >= 2.21, < 2.28.6version >= 2.18.2, <= 2.18.9version >= 2.19.4, <= 2.19.7version >= 2.20.5, <= 2.20.9version >= 2.34.0, < 2.34.5version >= 2.33.0, < 2.33.4version >= 2.32.0, < 2.32.7version >= 2.31.0, < 2.31.4 and 2 moreversion >= 2.30.0, < 2.30.4version >= 2.29.0, < 2.29.3 |
Vulnerable | CVE Program (cve.org) e CISA ADP |
| Nixos | Nix |
≥ 2.18.2 and ≤ 2.18.9≥ 2.34.0 and < 2.34.5≥ 2.33.0 and < 2.33.4≥ 2.32.0 and < 2.32.7≥ 2.31.0 and < 2.31.4≥ 2.30.0 and < 2.30.4≥ 2.29.0 and < 2.29.3≥ 2.21.0 and < 2.28.6 and 2 more≥ 2.20.5 and ≤ 2.20.9≥ 2.19.4 and ≤ 2.19.7 |
Vulnerable | NIST National Vulnerability Database |
Attack characteristics
The CVSS vector, decoded. It describes the attack, not your exposure to it.
Every base score collected
Sources score independently and may disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Scored by |
|---|---|---|---|---|---|
| 9.0 | CVSS 3.1 | Critical | 2.5 | 5.8 | security-advisories@github.com via NIST National Vulnerability Database |
| 9.0 | CVSS 3.1 | Critical | — | — | GitHub_M via CVE Program (cve.org) e CISA ADP |
| 8.4 | CVSS 3.1 | High | 2.0 | 5.8 | nvd@nist.gov via NIST National Vulnerability Database |
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N (score shown at the top: nvd@nist.gov) Weakness MITRE
Weakness class according to MITRE’s CWE catalog.
EPSS over time FIRST
Oct 13, 2026 → Oct 14, 2026 · 2 reading(s) · max 0.18%
Detection
Read off the CVSS vector and the weakness class. Starting points, not tested rules.
- Local/physical vector: focus on endpoint telemetry (EDR) from affected hosts.
Timeline
What happened to this CVE, newest first.
- 2026
- Affected products added · nixos/nix
- SSVC assessment updated
- Record published
- Fix documented
- CVSS changed · 8.4
- Source status changed · → Analyzed
- Record created in this database
- CVE published
Source activity
Repeated readings are counted rather than listed.
- 1× Official description updated · Oct 13, 2026 – Oct 13, 2026
References
6 on the record
- github.com/NixOS/nix/security/advisories/GHSA-g3g9-5vj6-r3gj
- github.com/NixOS/nix/pull/10178
- github.com/NixOS/nix/commit/244f3eee0bbc7f11e9b383a15ed7368e2c4becc9
- github.com/NixOS/nix/commit/7794354a982449927ee7401cdeb573ddd16c4688
- github.com/NixOS/nix/commit/4bc5a3510fa3735798f9ed3a2a30a3ea7b32343a
- github.com/NixOS/nix/commit/a3163b9eabb952b4aa96e376dea95ebcca97b31a
Elsewhere on this site
Related CVEs (same products)
- Medium CVE-2026-110451 Incorrect Authorization in Nixos Nix 1d
- Medium CVE-2026-110452 The multi-user installer in Nix before 2.35.3 sets the ownership of store contents to… 1d
- Medium CVE-2026-110453 Incorrect Authorization in Nixos Nix 1d
- High CVE-2026-110450 Nix before 2.35.3 and Lix before 2.95.4 allow privilege escalation via a repair… 1d
- High CVE-2026-110449 Integer Overflow or Wraparound in Nixos Nix 1d
- Medium CVE-2026-44029 An issue was discovered in Nix before 2.34.7. Writing to arbitrary files can occur via… May 4, 2026
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record
Text assembled only from the fields above — no additional claims.
What should defenders know first?
CVE-2026-39860 is "Nix sandbox escape: file write via symlink at FOD `.tmp` copy destination", rated High. It affects Nix (Nixos); versions are in the scope table. It is not in CISA KEV, which does not rule out exploitation. CVSS 8.4 describes technical severity. EPSS 0.18% estimates the probability of exploitation in 30 days; neither replaces your asset context. First verify whether exposed or business-critical assets run the affected versions, apply vendor fixes or mitigations, and preserve logs for review.
Comments
Moderated technical discussion. Read the community guidelines.
No comments yet.
Sign in or create an account to comment and suggest corrections.