Home / ai / nanoid / CVE-2026-73086
CVE-2026-73086: is it exploited, and which versions of ai nanoid are affected and fixed?
CVE-2026-73086 is an integer overflow vulnerability in ai nanoid. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:08 UTC). Affected: nanoid before 3.3.12 and nanoid from 4.0.0 before 5.1.11 (GitHub advisory GHSA-xwg4-73v4-xw9w). Fixed in 3.3.12 and 5.1.11 (GitHub advisory GHSA-xwg4-73v4-xw9w). Severity: High (7.4, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:08 UTC, CVE record November 19, 2026, 07:06 UTC and NVD November 19, 2026, 07:08 UTC.
What is CVE-2026-73086?
nanoid: Integer Overflow or Wraparound
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.
From the CVE record by GitHub_M, last updated August 12, 2026, 14:29 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| ai | nanoid | < 3.3.12 >= 4.0.0, < 5.1.11 |
As the CVE record by GitHub_M states it, last updated August 12, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | nanoid | < 3.3.12 | 3.3.12 | GHSA-xwg4-73v4-xw9w |
| npm | nanoid | >= 4.0.0, < 5.1.11 | 5.1.11 | GHSA-xwg4-73v4-xw9w |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated September 1, 2026. Summary: nanoid: Integer Overflow or Wraparound.
How severe is CVE-2026-73086?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.4 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-73086 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, August 12, 2026)
- EPSS
- 0.37% probability of exploitation activity in the next 30 days, percentile 33.1 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-190 Integer Overflow or Wraparound
Where are the vendor advisories and references?
- https://github.com/ai/nanoid/security/advisories/GHSA-xwg4-73v4-xw9w x_refsource_CONFIRM
- https://github.com/ai/nanoid/commit/7087969281cab8ba8ae3babf1894e819068b3bb4 x_refsource_MISC
- https://github.com/ai/nanoid/commit/821dfed7b5db7f88e92f56c60eef32c8135077c3 x_refsource_MISC
- https://github.com/ai/nanoid/commit/b0036ed60dc9facd7f1191a50dfb3076500202ac x_refsource_MISC
- https://github.com/ai/nanoid/releases/tag/3.3.12 x_refsource_MISC
- https://github.com/ai/nanoid/releases/tag/5.1.11 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- August 10, 2026
- Published
- August 11, 2026, 16:46 UTC
- CVE record updated
- August 12, 2026, 14:29 UTC by GitHub_M
- NVD
- Deferred, last modified October 24, 2026, 15:10 UTC
- Last checked
- CVE list November 19, 2026, 07:06 UTC; NVD November 19, 2026, 07:08 UTC; KEV December 3, 2026, 11:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
Questions about CVE-2026-73086
Is CVE-2026-73086 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:08 UTC. FIRST's EPSS gives it a 0.37% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of ai nanoid are affected by CVE-2026-73086?
nanoid before 3.3.12 and nanoid from 4.0.0 before 5.1.11, per the GitHub advisory GHSA-xwg4-73v4-xw9w. The tables above give every range the sources list.
Which version fixes CVE-2026-73086?
3.3.12 and 5.1.11, per the GitHub advisory GHSA-xwg4-73v4-xw9w. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-73086?
High (7.4, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-73086?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.