ADVISORIES

Red Hat VEX

RHVEX-CVE-2026-73086

nanoid: nanoid: Predictable ID generation due to integer overflow

Important No fix available CVE-2026-73086

Details

A flaw was found in nanoid, a JavaScript library for generating unique string IDs. A remote attacker could exploit an integer overflow vulnerability by providing a specific input to the nanoid(size) function. This issue causes the internal random number generator to become predictable, leading to the generation of identical identifiers for session tokens, security tokens (Cross-Site Request Forgery (CSRF) tokens), and API keys. Such predictability could allow an attacker to bypass security measures that rely on unique and random identifiers.

Affected packages

EcosystemPackageAffected versions
Red Hat:enterprise_linux:10goose
All versions, will not be fixed
Red Hat:enterprise_linux:9goose
All versions, will not be fixed

References