PatchSiren cyber security CVE debrief
CVE-2026-73086 ai CVE debrief
CVE-2026-73086 nanoid vulnerability debrief. The nanoid library, used for generating secure, URL-friendly unique string IDs in JavaScript, has a high-severity vulnerability prior to versions 3.3.12 and 5.1.11. This issue arises from the handling of the size parameter in the nanoid function, which can be coerced to a signed 32-bit integer, potentially corrupting the process-wide CSPRNG poolOffset. Consequently, subsequent session tokens, CSRF tokens, API keys, and unique identifiers may become deterministic and equal to 'uuuuuuuuuuuuuuuuuuuuu' until the process restarts. JavaScript developers and maintainers of applications using nanoid for unique identifier generation should assess
- Vendor
- ai
- Product
- nanoid
- CVSS
- HIGH 7.4
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-08-11
- Original CVE updated
- 2026-09-09
- Advisory published
- 2026-08-11
- Advisory updated
- 2026-09-09
Who should care
JavaScript developers and maintainers of applications using nanoid for unique identifier generation should assess their exposure and update to a fixed version. System administrators and security teams responsible for applications utilizing nanoid should verify the integrity of generated identifiers and tokens in their systems.
Why it matters
CVE-2026-73086 is a high-severity vulnerability in the nanoid library used for generating unique identifiers in JavaScript. The issue can lead to predictable and insecure identifiers being generated, potentially compromising the security of applications using nanoid. JavaScript developers, system administrators, and security teams should assess their exposure, verify the integrity of generated identifiers, and update to a fixed version of nanoid as a priority.
- Deterministic generation of session tokens, CSRF tokens, API keys, and unique identifiers
- Potential for predictable and insecure identifiers in applications using nanoid
- Need for verification of identifier integrity in affected systems
- Priority for updating nanoid to versions 3.3.12 or 5.1.11
Technical summary
The nanoid library, used for generating secure, URL-friendly unique string IDs in JavaScript, has a vulnerability prior to versions 3.3.12 and 5.1.11. The issue arises from the handling of the size parameter in the nanoid function, which can be coerced to a signed 32-bit integer. A specific value of 2147483648 can corrupt the process-wide CSPRNG poolOffset in the fillPool() function. This corruption causes subsequent session tokens, CSRF tokens, API keys, and unique identifiers to become deterministic and equal to 'uuuuuuuuuuuuuuuuuuuuu' until the process restarts.
Defensive priority
High priority for JavaScript developers and maintainers of applications using nanoid for unique identifier generation
Recommended defensive actions
- Review and update nanoid to versions 3.3.12 or 5.1.11 if currently using a vulnerable version
- Assess applications and systems using nanoid for unique identifier generation to determine exposure
- Verify the integrity of generated identifiers and tokens in your systems
- Consider implementing additional monitoring for unusual patterns in generated identifiers
- Perform a thorough review of system logs to detect potential exploitation attempts
- Conduct an inventory of assets that utilize nanoid for identifier generation
- Establish a rollback plan for changes made to affected systems
Evidence notes
The CVE record and NVD entry provide details on the vulnerability in nanoid, a JavaScript library for generating unique string IDs. The issue arises from the handling of the size parameter in the nanoid function, which can lead to a corruption of the process-wide CSPRNG poolOffset. This results in deterministic session tokens, CSRF tokens, API keys, and unique identifiers being generated as 'uuuuuuuuuuuuuuuuuuuuu' until the process restarts.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-73086 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-73086
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-73086 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-73086
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://github.com/ai/nanoid/commit/7087969281cab8ba8ae3babf1894e819068b3bb4
-
Source reference
Unverified legacy reference
URL: https://github.com/ai/nanoid/commit/821dfed7b5db7f88e92f56c60eef32c8135077c3
-
Source reference
Unverified legacy reference
URL: https://github.com/ai/nanoid/commit/b0036ed60dc9facd7f1191a50dfb3076500202ac
-
Source reference
Unverified legacy reference
URL: https://github.com/ai/nanoid/releases/tag/3.3.12
-
Source reference
Unverified legacy reference
URL: https://github.com/ai/nanoid/releases/tag/5.1.11
-
Source reference
Unverified legacy reference
URL: https://github.com/ai/nanoid/security/advisories/GHSA-xwg4-73v4-xw9w
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.