Description
A flaw in Node.js `crypto` causes the internal entropy caches used by `crypto.randomUUID()`, `crypto.randomUUIDv7()`, and `crypto.randomInt()` to be saved into user-land startup snapshots (`--build-snapshot`) and single executable applications built with `useSnapshot`.

If any of these functions, or an API that relies on them such as `URL.createObjectURL()`, is called while the snapshot is built, every process started from that snapshot returns the same values until the cache is refilled: up to 127 UUIDs and about 1,000 `randomInt()` values. Identifiers expected to be unique can collide across processes, and values issued by one process can be predicted by observing another.

This vulnerability affects Node.js **26.x**, **24.x**, and **22.x**.
Published: 2026-10-23
Score: 4.8 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Predictable Random Values / Identifier Collision
Action: Patch Immediately
AI Analysis

Impact

A flaw in Node.js crypto causes the internal entropy caches used by crypto.randomUUID(), crypto.randomUUIDv7(), and crypto.randomInt() to be written into user‑land startup snapshots. When these functions or dependent APIs such as URL.createObjectURL are invoked while a snapshot is being built, every process started from that snapshot emits the same values until the cache is refilled—up to 127 UUIDs and about 1,000 randomInt values. The resulting identifier collisions and predictability weaken confidentiality and may allow an attacker to anticipate tokens or URLs that rely on these random values. The weaknesses correspond to improper use of random numbers and entropy handling (CWE‑330 and CWE‑335).

Affected Systems

The flaw affects Node.js 26.x, 24.x, and 22.x. Any deployment that builds a startup snapshot with --build-snapshot or creates a single‑executable application using the useSnapshot feature and invokes the affected crypto functions during snapshot creation is vulnerable.

Risk and Exploitability

With a CVSS score of 4.8 the vulnerability has moderate severity. The EPSS score of <1% indicates a low likelihood of exploitation, and it is not listed in CISA’s KEV catalog. Based on the description, the likely attack vector is controlling or influencing snapshot generation—or monitoring the predictable outputs of processes that share a snapshot. An attacker who can trigger or observe these repeatable random values can force collisions or anticipate unique identifiers used in URLs, tokens, or other context‑sensitive data, potentially enabling targeted exploitation when an application relies on the uniqueness of these values. The impact is therefore non‑RCE but may compromise confidentiality and integrity.

Generated by OpenCVE AI on October 26, 2026 at 14:23 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Node.js to the latest patched release that removes the cache leakage (any newer minor or major release of 26.x or newer).
  • Rebuild any startup snapshots or single‑executable binaries with the --build-snapshot option disabled, or ensure that calls to crypto.randomUUID(), crypto.randomUUIDv7(), or crypto.randomInt() are not executed while the snapshot is being created.
  • If rebuilding is not possible, avoid using these APIs in contexts where uniqueness is critical until the cache can be refreshed or the application is rebuilt with the patch applied.

Generated by OpenCVE AI on October 26, 2026 at 14:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 02 Nov 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 26 Oct 2026 12:15:00 +0000

Type Values Removed Values Added
Title Predictable Random Values Leak in Node.js Startup Snapshots nodejs: nodejs: predictable random values via snapshot entropy cache reuse
Weaknesses CWE-335
References
Metrics threat_severity

None

cvssV3_1

{'score': 4.8, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N'}

threat_severity

Moderate


Fri, 23 Oct 2026 23:00:00 +0000

Type Values Removed Values Added
First Time appeared Nodejs
Nodejs nodejs
Vendors & Products Nodejs
Nodejs nodejs

Fri, 23 Oct 2026 18:00:00 +0000

Type Values Removed Values Added
Title Predictable Random Values Leak in Node.js Startup Snapshots

Fri, 23 Oct 2026 16:30:00 +0000

Type Values Removed Values Added
Description A flaw in Node.js `crypto` causes the internal entropy caches used by `crypto.randomUUID()`, `crypto.randomUUIDv7()`, and `crypto.randomInt()` to be saved into user-land startup snapshots (`--build-snapshot`) and single executable applications built with `useSnapshot`. If any of these functions, or an API that relies on them such as `URL.createObjectURL()`, is called while the snapshot is built, every process started from that snapshot returns the same values until the cache is refilled: up to 127 UUIDs and about 1,000 `randomInt()` values. Identifiers expected to be unique can collide across processes, and values issued by one process can be predicted by observing another. This vulnerability affects Node.js **26.x**, **24.x**, and **22.x**.
Weaknesses CWE-330
References
Metrics cvssV3_0

{'score': 4.8, 'vector': 'CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: hackerone

Published:

Updated: 2026-11-02T15:48:44.599Z

Reserved: 2026-10-06T15:00:00.655Z

Link: CVE-2026-106074

cve-icon Vulnrichment

Updated: 2026-11-02T15:48:18.976Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-23T17:17:20.473

Modified: 2026-11-02T16:17:25.553

Link: CVE-2026-106074

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-23T16:15:05Z

Links: CVE-2026-106074 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-26T14:30:13Z

Weaknesses
  • CWE-330

    Use of Insufficiently Random Values

  • CWE-335

    Incorrect Usage of Seeds in Pseudo-Random Number Generator (PRNG)