CVE-2026-73086ai nanoid
High 7.4 No auth needed
Follow: this CVE · ai · ai nanoid We alert you by email or Slack (account required).
- Priority
- 59
- CVSS 3.1
- 7.4
- EPSS
- —
- Auth required
- No
- Published
- Aug 11, 2026
- Updated
- Oct 24, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-190
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for nanoid.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | nanoid |
< 3.3.12 |
3.3.12 |
npm install nanoid@3.3.12 |
| npm | nanoid |
≥ 4.0.0 < 5.1.11 |
5.1.11 |
npm install nanoid@5.1.11 |
Per OSV / GitHub Advisories (GHSA-xwg4-73v4-xw9w). Check the version in your lockfile before upgrading.
Affected products
- ai · nanoid
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Red Hat Security Advisory: Satellite 6.19.5 Async Update · Red Hat · RHSA-2026:74503 · Nov 23, 2026 Critical
- Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.6 Product Security and Bug Fix Update · Red Hat · RHSA-2026:71113 · Nov 23, 2026 Critical
- velociraptor-0.76.7.0.git145.b60ef1146-1.1 on GA media · SUSE · openSUSE-SU-2026:12070-1 · Oct 6, 2026 Critical
- agama-web-ui-24+0.a836cced5-52.1 on GA media · SUSE · openSUSE-SU-2026:11680-1 · Sep 4, 2026 Critical
- Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update · Red Hat · RHSA-2026:54520 · Aug 14, 2026 High
Also: Red Hat (+4)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.