cve.bz

CVE-2026-73086 ai nanoid: Year 2038 problem, Y2K38, Y2038, Epochalypse

7.4 highEPSS 0.3%Fix available

High (7.4) in ai nanoid. EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in nanoid 3.3.12, 5.1.11.

On this page
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.

Severity

CVSS 3.1

7.4 high
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 23rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-08-12. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-190 Integer Overflow or Wraparound (Year 2038 problem, Y2K38, Y2038, Epochalypse)
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-73086 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-73086?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-73086?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-73086 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
ai nanoid< 3.3.12
ai nanoid>= 4.0.0, < 5.1.11

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-xwg4-73v4-xw9wnpmnanoid<3.3.123.3.12
GHSA-xwg4-73v4-xw9wnpmnanoid>=4.0.0 <5.1.115.1.11

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13node-postcssno fix listedDEBIAN-CVE-2026-73086
Debian12, 13, 14node-mocha9.1.4+ds1+~cs28.2.8-1DEBIAN-CVE-2026-73086
Debian14node-postcss8.5.14+~cs9.3.34-1DEBIAN-CVE-2026-73086
Ubuntu16.04:LTS, 18.04:LTSnode-mochano fix listedUBUNTU-CVE-2026-73086
Ubuntu20.04:LTSnode-mocha, node-postcssno fix listedUBUNTU-CVE-2026-73086
Ubuntu22.04:LTS, 24.04:LTS, 26.04:LTSnode-postcssno fix listedUBUNTU-CVE-2026-73086
Red Hathummingbird:1grafana12.40:12.4.8-0.1.1.hum1RHSA-2026:54518
Red Hathummingbird:1grafana13.10:13.1.3-0.1.hum1RHSA-2026:54412
Red Hathummingbird:1jaeger0:2.20.0-0.8.hum1RHSA-2026:48758
Red Hathummingbird:1prometheus3.130:3.13.2-0.2.hum1RHSA-2026:50287
Red Hathummingbird:1prometheus3.50:3.5.5-0.8.hum1RHSA-2026:54520
openSUSETumbleweedagama-web-ui24+0.a836cced5-52.1openSUSE-SU-2026:11680-1
openSUSETumbleweedvelociraptor0.76.7.0.git145.b60ef1146-1.1openSUSE-SU-2026:12070-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

Important: This flaw in the nanoid JavaScript library allows a remote attacker to cause predictable ID generation by exploiting an integer overflow in the `nanoid(size)` function. This can lead to the compromise of session tokens, CSRF tokens, and API keys, bypassing security mechanisms. The attack requires specific conditions, contributing to its Important severity rather than Critical.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat Ansible Automation Platform 2.6 for RHEL 9automation-platform-ui-0:2.6.14-1.el9apFixed 2026-09-23RHSA-2026:71113
Red Hat Satellite 6.19 for RHEL 9foreman-0:3.18.0.14-1.el9satFixed 2026-10-01RHSA-2026:74503
Cluster Observability Operator 1.5.3cluster-observability-operator/prometheus-rhel9:1790857922Fixed 2026-10-01RHSA-2026:74609
multicluster engine for Kubernetes 2.11multicluster-engine/console-mce-rhel9:1786911977Fixed 2026-08-19RHSA-2026:57194
multicluster engine for Kubernetes 2.17multicluster-engine/console-mce-rhel9:1786668856Fixed 2026-08-25RHSA-2026:59593
multicluster engine for Kubernetes 2.6multicluster-engine/console-mce-rhel9:1787264250Fixed 2026-08-25RHSA-2026:59579
multicluster engine for Kubernetes 2.8multicluster-engine/console-mce-rhel9:1787259048Fixed 2026-08-25RHSA-2026:59558
multicluster engine for Kubernetes 2.9multicluster-engine/console-mce-rhel9:1787079359Fixed 2026-08-25RHSA-2026:59559
Red Hat Advanced Cluster Management for Kubernetes 2.11rhacm2/console-rhel9:1787687062Fixed 2026-08-26RHSA-2026:60387
Red Hat Advanced Cluster Management for Kubernetes 2.13rhacm2/console-rhel9:1787339249Fixed 2026-08-26RHSA-2026:60390
Cryostat 4cryostat-openshift-console-plugin-npmNot affected
Cryostat 4grafana-infinity-datasource-npmNot affected
Cryostat 4nanoidNot affected
Gatekeeper 3gatekeeper/gatekeeper-rhel9Not affected
Migration Toolkit for Containersrhmtc/openshift-migration-ui-rhel8Will not fix
Network Observability Operatornetwork-observability/network-observability-console-plugin-pf5-rhel9Not affected
Node HealthCheck Operatorworkload-availability/node-healthcheck-must-gather-rhel9Affected
Node HealthCheck Operatorworkload-availability/node-healthcheck-operator-bundleAffected
Node HealthCheck Operatorworkload-availability/node-healthcheck-rhel9-operatorAffected
OpenShift Lightspeedopenshift-lightspeed/lightspeed-agentic-console-rhel9Affected
117 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-73086.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON