Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-64846

published low CVSS 3.1 · 2.8

Nix: Arbitrary file truncation outside the sandbox with recursive-nix experimental feature

Published
20 Aug 2026, 16:18:06 UTC
Updated
20 Aug 2026, 19:32:22 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
NixOS — nix< 2.35.0 Affected Not stated GitHub_M

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.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
2.8 / 10
Severity
low
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
NixOS nix < 2.35.0 (affected) GitHub_M · cna

Weaknesses

2
  • CWE-61 CWE-61: UNIX Symbolic Link (Symlink) Following (GitHub_M · cna)
  • CWE-367 CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition (GitHub_M · cna)

References

3

Provider assertions

2

GitHub_M · cna

Nix: Arbitrary file truncation outside the sandbox with recursive-nix experimental feature

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
6f3c66679f81b2c952bf0b2f3bbfc48b8a3eeac10544088dbd8935b73aeba760
Ingested
23 Sep 2026, 09:26:10 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected