Skip to main content
CVE-2026-39860VulnerabilityPublished Updated

nix · Bug

Affects nixSource GCVE Database

0
Compare

Mentioned vulnerabilities

Authoritative record:CVE-2026-39860· Critical 9.0

Not known to be exploited · CVSS 9.0 Critical · fixed in 2.34.5 : patch nix as a priority.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 3.1 base score
9.0Critical
How severe the flaw is on the 0–10 CVSS scale.

Contested

Critical score, yet low EPSS after six months
EPSS
0.1% chance of exploitation in 30 days – higher than 9% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.34.5
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 8 Apr 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10nixpkg:deb/ubuntu/nix?arch=source&distro=stonkingOther threatsAffected
  • 2.34.3+dfsg-1 – 2.34.8+dfsg-1build1
5 affected builds
Fixed in–
Ubuntu 26.04 LTSnixpkg:deb/ubuntu/nix?arch=source&distro=resoluteOther threatsAffected
  • 2.26.3+dfsg-1ubuntu4 – 2.34.3+dfsg-1
5 affected builds
Fixed in–
Ubuntu 25.10nixpkg:deb/ubuntu/nix?arch=source&distro=questingOther threatsAffected
  • 2.24.9+dfsg-2ubuntu2 – 2.26.3+dfsg-1ubuntu4
4 affected builds
Fixed in–
Ubuntu Pro 24.04 LTSnixpkg:deb/ubuntu/nix?arch=source&distro=esm-apps/nobleOther threatsAffected
  • 2.16.1+dfsg-3ubuntu1 – 2.18.1+dfsg-1ubuntu5+esm2
6 affected builds
Fixed in–
Ubuntu Pro 22.04 LTSnixpkg:deb/ubuntu/nix?arch=source&distro=esm-apps/jammyOther threatsAffected
  • 2.3.10+dfsg1-1 – 2.6.0+dfsg-3ubuntu0.1~esm1
5 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

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.

References

Community reviews

Loading reviews…