Skip to main content
VulnerabilityPublished

CVE-2026-64846: NixOS nix · UNIX Symbolic Link (Symlink) Following

Affects NixOS nixSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 2.8 Low : upgrade to 2.35.0 when convenient.

Data as of 17 Nov 2026, 20:25 UTC

CVSS 3.1 base score
2.8Low
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 1% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.35.0
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 20 Aug 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 17 Nov 2026.

What to do

Upgrade nix and nixos/nix to 2.35.0.

Affected software

ProductAffectedFixed in
NixOSnixAffected
  • <2.35.0
Fixed in
  • 2.35.0
GitHubnixos/nixpkg:github/nixos/nixOther threatsAffected
  • <2.35.0
Fixed in
  • 2.35.0

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

AI-suggested

This vulnerability is fixed in Nix version 2.35.0. Users should upgrade to version 2.35.0 or later to remediate this issue. No other specific mitigations are indicated. Since this is not a cloud service, remediation depends on applying the official fix.

Description

CVE-2026-64846 is a vulnerability in the Nix package manager prior to version 2.35.0. It involves a time-of-check/time-of-use (TOCTOU) race condition related to symbolic link handling during the LocalStore restore path when using the recursive-nix experimental feature. This race condition can allow the Nix process or nix-daemon to create or truncate an empty file outside the build sandbox with the daemon user's permissions. The vulnerability does not allow arbitrary content writes and requires winning the race. The issue is fixed in version 2.35.0.

References

Community reviews

Loading reviews…