CVE-2026-64846

LOW
Published Aug 20, 2026 Modified Aug 20, 2026 CWE-61 CWE-367

Description

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.

Is your site exposed to CVE-2026-64846?

Run a free security scan — no signup, results in seconds.

CVSS v3.1 Score

2.8
LOW
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:N

EPSS — Exploit Prediction

0.0009
Probability of exploitation
0.00%
Percentile rank

EPSS estimates the probability that this vulnerability will be exploited in the wild within the next 30 days. A higher score means more likely to be exploited.

Weakness Type (CWE)

CWE-61 CWE-61
CWE-367 CWE-367

References

Frequently Asked Questions

What is CVE-2026-64846? +
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. It has a CVSS v3.1 base score of 2.8 (LOW).
How severe is CVE-2026-64846? +
CVE-2026-64846 has a CVSS v3.1 score of 2.8 out of 10, rated LOW. This is a low-severity vulnerability with limited impact. The EPSS score is 0.0009, placing it in the 0th percentile for exploitation probability.
How do I check if I'm vulnerable to CVE-2026-64846? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.

Related Vulnerabilities

Don't wait for an exploit

Scan your website for vulnerabilities like CVE-2026-64846 — free, no signup required.