Skip to main content

Nix CVE-2026-64846

| EUVDEUVD-2026-63424 LOW
UNIX Symbolic Link (Symlink) Following (CWE-61)
2026-08-20 GitHub_M
2.8
CVSS 3.1 · Vendor: GitHub_M

Severity by source

Vendor (GitHub_M) PRIMARY
2.8 LOW
AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:N
vuln.today AI
2.8 LOW

Local-only exploitation via race condition (AC:H), low-privilege derivation submission (PR:L), sandbox escape changes scope (S:C), limited to empty-file creation (I:L), no confidentiality or availability impact.

3.1 AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:N
4.0 AV:L/AC:H/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
None
Integrity
Low
Availability
None

Lifecycle Timeline

3
Source Code Evidence Fetched
Aug 20, 2026 - 17:48 vuln.today
Analysis Generated
Aug 20, 2026 - 17:48 vuln.today
Patch available
Aug 20, 2026 - 17:02 EUVD

DescriptionCVE.org

Nix is a package manager for Linux and other Unix systems. Prior to 2.35.0, a malicious derivation executed with the recursive-nix experimental feature can exploit a time-of-check/time-of-use race involving final symlink handling in the LocalStore restore path. The race can cause writeFile to follow a substituted final symlink when opening a path with O_TRUNC instead of enforcing FinalSymlink::DontFollow, allowing the Nix process or nix-daemon to create or truncate an empty file outside the build sandbox with the daemon user's permissions. The primitive does not provide arbitrary-content writes and requires winning the race. This issue is fixed in version 2.35.0.

AnalysisAI

Sandbox escape in Nix versions before 2.35.0 allows a malicious build derivation - executed under the experimental recursive-nix feature - to create or truncate empty files outside the build sandbox using the nix-daemon's permissions by exploiting a TOCTOU race in the LocalStore path-restore logic. The race window exists between path resolution and the open() call with O_TRUNC in writeFile, which previously lacked O_NOFOLLOW enforcement, letting an attacker substitute a symlink mid-flight to redirect the write. …

Unlock full vulnerability intelligence

  • Risk assessment & exploitation conditions
  • Attack chain visualization
  • Remediation with exact patch versions
  • Threat intelligence from 22 sources
  • Personal watchlist & email alerts

Free forever · No credit card required

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata

Access
technique details hidden
Delivery
technique details hidden
Exploit
technique details hidden
Execution
technique details hidden
Persist
technique details hidden
Impact
technique details hidden

Vulnerability AssessmentAI

Exploitation Exploitation requires the `recursive-nix` experimental feature to be explicitly enabled in the Nix configuration (`experimental-features = recursive-nix` in `nix.conf` or equivalent), which is off by default and considered experimental. … Additional conditions and limiting factors are described in the full assessment.
Risk Assessment The CVSS 3.1 score of 2.8 (AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:N) reflects the tightly constrained nature of this vulnerability: local system access is required, the race must be won (AC:H), and the only achievable primitive is creating or zeroing out files - arbitrary content writes are not possible. … Full risk analysis with EPSS, KEV, and SSVC signal comparison available after sign-in.
Exploit Scenario Full exploit scenario with step-by-step reproduction available after sign-in.
Remediation Upgrade to Nix 2.35.0 or later, which resolves this vulnerability by enforcing `FinalSymlink::DontFollow` through all `writeFile` call sites in the LocalStore restore path, backed by `O_NOFOLLOW` at the syscall level. … Detailed patch versions, workarounds, and compensating controls in full report.

Threat intelligence, references, and detailed analysis are available after sign-in.

More in Nixos

View all
CVE-2024-12085 HIGH POC
7.5 Jan 14

A flaw was found in rsync which could be triggered when rsync compares file checksums. Rated high severity (CVSS 7.5), t

CVE-2024-12084 CRITICAL POC
9.8 Jan 15

A heap-based buffer overflow flaw was found in the rsync daemon. Rated critical severity (CVSS 9.8), this vulnerability

CVE-2026-39860 HIGH POC
8.4 Apr 08

Local privilege escalation in Nix package manager daemon (versions prior to 2.34.5/2.33.4/2.32.7/2.31.4/2.30.4/2.29.3/2.

CVE-2024-12087 HIGH POC
7.5 Jan 14

Server-to-client path traversal in rsync lets a malicious or compromised rsync server write files outside the client's i

CVE-2019-17365 HIGH POC
7.8 Oct 09

Nix through 2.3 allows local users to gain access to an arbitrary user's account because the parent directory of the use

CVE-2024-12086 MEDIUM POC
6.8 Jan 14

A flaw was found in rsync. Rated medium severity (CVSS 6.1), this vulnerability is remotely exploitable, no authenticati

CVE-2023-36476 MEDIUM POC
5.5 Jun 29

calamares-nixos-extensions provides Calamares branding and modules for NixOS, a distribution of GNU/Linux. Rated medium

CVE-2024-45593 HIGH
8.8 Sep 10

Nix is a package manager for Linux and other Unix systems. Rated high severity (CVSS 8.8), this vulnerability is remotel

CVE-2026-61828 HIGH
8.5 Jul 15

Local privilege escalation to MySQL root in the NixOS services.mysql module (Nixpkgs, before the 25.11 and 26.05 channel

CVE-2024-12088 HIGH
7.5 Jan 14

Arbitrary file write outside the intended destination in rsync's client-side `--safe-links` handling allows a malicious

CVE-2017-7412 HIGH
7.8 Apr 04

NixOS 17.03 before 17.03.887 has a world-writable Docker socket, which allows local users to gain privileges by executin

CVE-2024-45049 HIGH
7.5 Aug 27

Hydra is a Continuous Integration service for Nix based projects. Rated high severity (CVSS 7.5), this vulnerability is

Share

CVE-2026-64846 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy