Vulnerability
CVE-2026-73086
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.
88 advisories report this vulnerability, across 9 ecosystems.
Advisories
- CGA-29h3-ffp4-474p
- CGA-2rw4-77m9-xfpw
- CGA-2vrc-9x7f-3m35
- CGA-2whp-h6gh-fjv8
- CGA-36xp-7j3p-fh66
- CGA-38f5-857x-8f4x
- CGA-3f7j-g2wq-rmjh
- CGA-3mm4-p7cm-49gr
- CGA-42x6-mprw-6j39
- CGA-4cqp-q3jg-6x3f
- CGA-4cr8-88fg-qx23
- CGA-4ff9-pqq7-54h8
- CGA-4hr6-vh92-vc4j
- CGA-4rph-g822-qmp9
- CGA-636p-cq8c-m8q6
- CGA-66mw-3vx4-g9r6
- CGA-6c7h-hmwm-gfcm
- CGA-6fjf-ghjq-64c2
- CGA-6hhc-vgmr-pv3g
- CGA-6j3j-9xf2-rvcj
- CGA-6phv-43ww-j597
- CGA-6vcr-cm3v-339w
- CGA-73jc-rhqc-wxg3
- CGA-73w3-3224-3qmf
- CGA-75gh-fmhm-vxfp
- CGA-766g-46fv-43mv
- CGA-788m-rwgx-cwmh
- CGA-7crv-6g89-f5x5
- CGA-7ffr-424v-8j2c
- CGA-7p6q-xcvc-6wv9
- CGA-7v5w-6x4r-pjq3
- CGA-82mg-fwjj-cm2f
- CGA-89jp-cvc7-mcg7
- CGA-8cjp-qgxh-87r9
- CGA-8mf9-vm3f-495h
- CGA-8mjx-jvqj-vh26
- CGA-8xww-w92j-8whp
- CGA-9hf2-gm9c-pghm
- CGA-c8m7-9279-x2wf
- CGA-f5fq-4997-cm24
- CGA-f65v-p37x-c57q
- CGA-fcvm-pcvf-rhvm
- CGA-g8g6-926g-qccv
- CGA-g9ph-4r7w-7phv
- CGA-gfpw-vhqx-79w2
- CGA-gx96-fh8q-8fc4
- CGA-h3q5-g9fp-r485
- CGA-h9wg-ww82-r2ff
- CGA-hfp2-xvr3-g342
- CGA-hg8c-4fw7-h6h2
- CGA-j767-vcvf-cqp4
- CGA-jmc5-c577-px78
- CGA-jqrv-h95r-9xqq
- CGA-jr56-rm7w-6c23
- CGA-m269-98jc-r2c3
- CGA-m6pr-5mj3-9w39
- CGA-mv47-cjfc-mc2v
- CGA-mvmj-hq7q-g9gg
- CGA-pj8j-3f84-hh98
- CGA-pmhq-5mj3-xwgf
- CGA-r3c4-9ghm-fjjw
- CGA-r927-ccf9-rwxh
- CGA-rqq2-hwjx-xg69
- CGA-v29h-8mr4-q8xq
- CGA-vf96-79rg-9c73
- CGA-vr3g-f33x-9q55
- CGA-wqwq-5qv9-pp9x
- CGA-wr68-cpvm-rff6
- CGA-x3g4-prxw-c2j6
- CGA-x4cr-hv6q-3rv4
- CGA-x8cp-r6vm-c42w
- CGA-x8vg-5pv5-fq7c
- CGA-xfcg-3jgj-p66w
-
DEBIAN-CVE-2026-73086
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…
-
FEDORA-2026-3942ab86fd
python-jupytext-1.19.6-1.fc43
-
GHSA-xwg4-73v4-xw9w
nanoid: Integer Overflow or Wraparound
-
RHSA-2026:48758
Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update
-
RHSA-2026:50287
Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update
-
RHSA-2026:54412
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
-
RHSA-2026:54518
Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update
-
RHSA-2026:54520
Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update
-
RHSA-2026:71113
Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.6 Product Security and Bug Fix Update
-
RHSA-2026:74503
Red Hat Security Advisory: Satellite 6.19.5 Async Update
-
RHVEX-CVE-2026-73086
nanoid: nanoid: Predictable ID generation due to integer overflow
-
SUSEVEX-CVE-2026-73086
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…
-
UBUNTU-CVE-2026-73086
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…
-
openSUSE-SU-2026:11680-1
agama-web-ui-24+0.a836cced5-52.1 on GA media
-
openSUSE-SU-2026:12070-1
velociraptor-0.76.7.0.git145.b60ef1146-1.1 on GA media
References
- https://github.com/ai/nanoid/commit/7087969281cab8ba8ae3babf1894e819068b3bb4
- https://github.com/ai/nanoid/commit/821dfed7b5db7f88e92f56c60eef32c8135077c3
- https://github.com/ai/nanoid/commit/b0036ed60dc9facd7f1191a50dfb3076500202ac
- https://github.com/ai/nanoid/releases/tag/3.3.12
- https://github.com/ai/nanoid/releases/tag/5.1.11
- https://github.com/ai/nanoid/security/advisories/GHSA-xwg4-73v4-xw9w