CVE-2026-73086: Nanoid - Authentication Bypass
- Cve: CVE-2026-73086
- Name: Nanoid - Authentication Bypass
- Description: nanoid is a secure, URL-friendly, unique string ID generator for JavaScript. Prior to versions 3.3.12 and 5.1.11, the nanoid(size) function in index.js and index.cjs coerces the user-influenced size parameter to a signed 32-bit integer, allowing a value of 2147483648 to become -2147483648 and corrupt the process-wide CSPRNG poolOffset in fillPool(), which causes subsequent session tokens, CSRF tokens, API keys, and unique identifiers to become the deterministic string "uuuuuuuuuuuuuuuuuuuuu" until the process restarts. This issue is fixed in versions 3.3.12 and 5.1.11.
- Impact: Attackers can cause predictable token generation, compromising session tokens, CSRF tokens, API keys, and unique identifiers until process restart.
- Remediation: Update to versions 3.3.12 or 5.1.11 or later.
- Vulnerability type: broken_authentication
- Vulnerability impact: information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.4
- Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
- Epss score: 0.00296
- Epss percentile: 0.2261
- Assignee: [email protected]
- Published at: 2026-08-11T17:19:16Z
- Age in days: 104
- Modified at: 2026-10-24T15:10:00Z
- References total: 6
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-73086
- Nvd status: deferred
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-190 | Integer Overflow or Wraparound |
References
Same in every row:
- Source: nvd
- Tags:
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| ai/nanoid | commit, package, releases, security_advisory | yes | /v1/repositories/ai/nanoid |
Index
- Repositories: 3574
- Repositories high signal: 1863
- Packages: 1
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts