Back to CVE records
High 8.4Published Apr 8, 2026

CVE-2026-39860Nix is a package manager for Linux and other Unix systems.

Updated under an hour ago ()

Does this affect you?

It affects nixos nix. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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.

CVSS
8.4 HIGH (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
Weakness (CWE)
CWE-61
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
Not given
NVD analysis
Analyzed
Record last updated
Jul 24, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
nixos nix
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; from 2.31.0 before 2.31.4; from 2.32.0 before 2.32.7; and 2 more ranges
NVD

References

  • patch
  • patch
  • patch
  • patch
  • issue-tracking, patch
  • mitigation, patch, vendor-advisory

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.