Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-64846: CWE-61: UNIX Symbolic Link (Symlink) Following in NixOS nix

0
Low
VulnerabilityCVE-2026-64846cvecve-2026-64846cwe-61cwe-367
Published: 08/20/2026 (08/20/2026, 16:18:06 UTC)
Source: CVE Database V5
Vendor/Project: NixOS
Product: nix

Description

CVE-2026-64846 is a low-severity vulnerability in the Nix package manager prior to version 2.35.0. It involves a time-of-check/time-of-use race condition in the handling of symbolic links during the LocalStore restore path when the recursive-nix experimental feature is enabled. This race condition can cause 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 to exploit. The issue is fixed in Nix version 2.35.0.

CVSS v3.1

Score 2.8low

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
None
Integrity
Low
Availability
None
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:N

Affected software

GitHub Actionsmore threats →ai
nixos/nix
pkg:github/nixos/nix
Affected versions
<2.35.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/20/2026, 16:52:49 UTC

Technical Analysis

Nix versions before 2.35.0 contain a race condition vulnerability (CVE-2026-64846) related to symbolic link following in the LocalStore restore path when using the recursive-nix experimental feature. Specifically, a time-of-check/time-of-use race allows writeFile to follow a substituted final symlink with O_TRUNC, bypassing the intended FinalSymlink::DontFollow enforcement. This can lead to the creation or truncation of an empty file outside the build sandbox with the permissions of the nix-daemon user. The vulnerability does not permit arbitrary content writes and requires successfully winning the race condition. The flaw is addressed in version 2.35.0.

Potential Impact

An attacker who can execute a malicious derivation with the recursive-nix experimental feature enabled may exploit this race condition to create or truncate files outside the build sandbox with the nix-daemon user's permissions. This could potentially affect system integrity by modifying files unexpectedly. However, the vulnerability does not allow arbitrary content writes, limiting the scope of impact. The low CVSS score (2.8) reflects the limited impact and the complexity of exploitation.

Mitigation Recommendations

Upgrade to Nix version 2.35.0 or later, where this vulnerability is fixed. No other mitigation is indicated or required according to the available data.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-07-20T18:31:39.290Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a872d7aacd9273b49dd41d8

Added to database: 08/20/2026, 16:38:18 UTC

Last enriched: 08/20/2026, 16:52:49 UTC

Last updated: 08/20/2026, 16:52:49 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses