CVE-2026-39860: Vulnerability in Nixos Nix
Critical. 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...
CWE-61
- Exploitation
- None confirmed
- Severity
- 9 of 10
- Attack likelihood
- 0.2 % in 30 days
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- EU ID
- EUVD-2026-20626
- Vector
- CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
- Weakness
- CWE-61
- Published
- 8 Apr 2026
- Last change
- 24 Jul 2026
- Likelihood rank
- Higher than 5 % of all rated vulnerabilities
- Analysis status
- Analyzed
Affected products
Affected versions and the first fixed release
- Nixos Nix From 2.18.2 through 2.18.9; From 2.19.4 through 2.19.7; From 2.20.5 through 2.20.9; From 2.21.0 before 2.28.6; From 2.29.0 before 2.29.3; From 2.30.0 before 2.30.4. Fixed in 2.28.6, 2.29.3, 2.30.4
Patches and fixes
Updates, commits and release notes
- github.com/NixOS/nix/commit/244f3eee0bbc7f11e9b383a15ed7368e2c4becc9
- github.com/NixOS/nix/commit/4bc5a3510fa3735798f9ed3a2a30a3ea7b32343a
- github.com/NixOS/nix/commit/7794354a982449927ee7401cdeb573ddd16c4688
- github.com/NixOS/nix/commit/a3163b9eabb952b4aa96e376dea95ebcca97b31a
- github.com/NixOS/nix/pull/10178
- github.com/NixOS/nix/security/advisories/GHSA-g3g9-5vj6-r3gj
Related
- Nix vulnerabilities Recent advisories, watch this product