PT-2026-70784 · Npm · Nanoid

CVE-2026-73086

·

Published

2026-08-11

·

Updated

2026-09-04

CVSS v3.1

7.4

High

VectorAV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Name of the Vulnerable Software and Affected Versions anoid versions prior to 3.3.12 anoid versions prior to 5.1.11
Description The nanoid(size) function in index.js and index.cjs coerces the user-influenced size parameter to a signed 32-bit integer. Providing a value of 2147483648 causes it to become -2147483648, which corrupts the process-wide CSPRNG (Cryptographically Secure Pseudo-Random Number Generator) poolOffset in the fillPool() function. This corruption results in subsequent session tokens, CSRF tokens, API keys, and unique identifiers becoming the deterministic string "uuuuuuuuuuuuuuuuuuuuu" until the process is restarted.
Recommendations Update to version 3.3.12 or later. Update to version 5.1.11 or later.

Exploit

Fix

Integer Overflow

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-73086
GHSA-XWG4-73V4-XW9W
OPENSUSE-SU-2026:11680-1
RHSA-2026:48758
RHSA-2026:50287
RHSA-2026:54412
RHSA-2026:54520

Affected Products

Nanoid