AI description
CVE-2026-106074 is a vulnerability in Node.js that affects applications utilizing startup snapshots or single-executable applications (SEAs). The issue stems from the entropy caches used by the `crypto.randomUUID()` and `randomInt()` functions. When an application is built as a startup snapshot or a single-executable application, these entropy caches can be preserved and saved directly into the snapshot. Because the cached randomness is frozen into the application, multiple processes spawned from the same snapshot or executable will repeat the exact same "random" values. This behavior undermines security mechanisms and application logic that rely on these values being unpredictable. To resolve the issue, Node.js has been updated to reset these caches across snapshots, and developers are advised to upgrade their Node.js runtime and rebuild any affected single-executable applications or startup snapshots.
- 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**.
- Source
- support@hackerone.com
- NVD status
- Awaiting Analysis
CVSS 3.0
- Type
- Secondary
- Base score
- 4.8
- Impact score
- 2.5
- Exploitability score
- 2.2
- Vector string
- CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
- Severity
- MEDIUM
- support@hackerone.com
- CWE-330
- Hype score
- Not currently trending