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

Related