Read the docs
TI-2026-47529 Aliases CVE-2026-67213GHSA-2v37-7h3g-55p8

nanoid before 5.1.6 Infinite Loop via Zero Size in customAlphabet and customRandom

Priority LOW 36CWE-835Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
Present
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Partial Red Hat: 28 fixed, 15 without a fix

Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-835.

Summary

nanoid (Nano ID) before 5.1.6 contains an infinite loop in the customAlphabet and customRandom functions. When these functions are configured with a size of 0, the internal generation loop never satisfies its exit condition and spins indefinitely, hanging the calling thread. An application that passes an unvalidated, attacker-controlled size of 0 to these functions is exposed to a denial-of-service condition.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00331 26th percentileScored 2026-11-07
Fix Partial nanoid (nanoid_project): 3.3.17, 5.1.6nanoid (npm): 3.3.18, 5.1.6Red Hat: 31 advisoriesRed Hat: 28 fixed, 15 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
nanoid_projectnanoid3.0.0 to before 3.3.17; 5.0.0 to before 5.1.63.3.17, 5.1.6Patch availableCNA
—nanoid (npm)before 3.3.183.3.18Patch availableGHSA-2v37-7h3g-55p8
—nanoid (npm)4.0.0 to before 5.1.65.1.6Patch availableGHSA-2v37-7h3g-55p8
  • nanoid Vendornanoid_project Affected 3.0.0 to before 3.3.17; 5.0.0 to before 5.1.6 Fixed in 3.3.17, 5.1.6 Patch available CNA
  • nanoid (npm) Vendor— Affected before 3.3.18 Fixed in 3.3.18 Patch available GHSA-2v37-7h3g-55p8
  • nanoid (npm) Vendor— Affected 4.0.0 to before 5.1.6 Fixed in 5.1.6 Patch available GHSA-2v37-7h3g-55p8

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:nanoid_project:nanoid:*:*:*:*:*:node.js:*:*3.0.0 to before 3.3.17; 5.0.0 to before 5.1.6Vulnerablenanoid_project
  • cpe:2.3:a:nanoid_project:nanoid:*:*:*:*:*:node.js:*:* Versions 3.0.0 to before 3.3.17; 5.0.0 to before 5.1.6 Vulnerable ·nanoid_project

Remediation

  • Fix · CNA nanoid (nanoid_project) Fixed in 3.3.17, 5.1.6
  • Fix · GHSA-2v37-7h3g-55p8 nanoid (npm) Fixed in 3.3.18 Advisory →
  • Fix · GHSA-2v37-7h3g-55p8 nanoid (npm) Fixed in 5.1.6 Advisory →

Red Hat 31 advisories

  • RHSA-2026:92650 Released 2026-10-29 · Red Hat rating Important
    Red Hat OpenShift Data Foundation 4.19.26 security, enhancement & bug fix update
    • Red Hat Openshift Data Foundation 4.19 registry.redhat.io/odf4/cephcsi-rhel9, registry.redhat.io/odf4/cephcsi-rhel9-operator, registry.redhat.io/odf4/mcg-core-rhel9 +17
  • RHSA-2026:90321 Released 2026-10-26 · Red Hat rating Critical
    Red Hat OpenShift Dev Spaces 3.31.0 Release.
    • Red Hat OpenShift Dev Spaces 3.31 registry.redhat.io/devspaces/code-rhel9, registry.redhat.io/devspaces/dashboard-rhel9, registry.redhat.io/devspaces/jetbrains-ide-rhel9 +8
  • RHSA-2026:87410 Released 2026-10-21 · Red Hat rating Critical
    RHOAI 2.25.12 - Red Hat OpenShift AI
    • Red Hat OpenShift AI 2.25 registry.redhat.io/rhoai/odh-built-in-detector-rhel9, registry.redhat.io/rhoai/odh-caikit-nlp-rhel9, registry.redhat.io/rhoai/odh-codeflare-operator-rhel9 +47
Show 28 more Red Hat advisories
  • RHSA-2026:84734 Released 2026-10-19 · Red Hat rating Critical
    RHOAI 3.4.5 - Red Hat OpenShift AI
    • Red Hat OpenShift AI 3.4 registry.redhat.io/rhoai/odh-ai-gateway-payload-processing-rhel9, registry.redhat.io/rhoai/odh-automl-rhel9, registry.redhat.io/rhoai/odh-autorag-rhel9 +47
  • RHSA-2026:83598 Released 2026-10-15 · Red Hat rating Important
    RHTAS 1.4.4 - Red Hat Trusted Artifact Signer Release
    • Red Hat Trusted Artifact Signer 1.4 registry.redhat.io/rhtas/certificate-transparency-rhel9, registry.redhat.io/rhtas/fulcio-rhel9, registry.redhat.io/rhtas/rekor-backfill-redis-rhel9 +6
  • RHSA-2026:79088 Released 2026-10-08 · Red Hat rating Critical
    Red Hat Developer Hub 1.10.5 release.
    • Red Hat Developer Hub 1.10 registry.redhat.io/rhdh/rhdh-hub-rhel9, registry.redhat.io/rhdh/rhdh-rhel9-operator
  • RHSA-2026:74380 Released 2026-10-06 · Red Hat rating Important
    OpenShift Container Platform 4.20.41 bug fix and security update
    • Red Hat OpenShift Container Platform 4.20 registry.redhat.io/openshift4/frr-rhel9, registry.redhat.io/openshift4/oc-mirror-plugin-rhel9, registry.redhat.io/openshift4/ose-agent-installer-ui-rhel9 +12
  • RHSA-2026:74429 Released 2026-10-06 · Red Hat rating Important
    OpenShift Container Platform 4.22.17 bug fix and security update
    • Red Hat OpenShift Container Platform 4.22 registry.redhat.io/openshift4/oc-mirror-plugin-rhel9, registry.redhat.io/openshift4/ose-agent-installer-ui-rhel9, registry.redhat.io/openshift4/ose-aws-cluster-api-controllers-rhel9 +15
  • RHSA-2026:74383 Released 2026-10-06 · Red Hat rating Important
    OpenShift Container Platform 4.21.36 bug fix and security update
    • Red Hat OpenShift Container Platform 4.21 registry.redhat.io/openshift4/frr-rhel9, registry.redhat.io/openshift4/oc-mirror-plugin-rhel9, registry.redhat.io/openshift4/ose-agent-installer-ui-rhel9 +12
  • RHSA-2026:74511 Released 2026-10-01 · Red Hat rating Important
    Red Hat Quay 3.17.5
    • Red Hat Quay 3.17 registry.redhat.io/quay/quay-rhel9
  • RHSA-2026:70593 Released 2026-09-23 · Red Hat rating Important
    Network Observability 1.12.3 for OpenShift
    • Network Observability (NETOBSERV) 1.12.3 registry.redhat.io/network-observability/network-observability-cli-rhel9, registry.redhat.io/network-observability/network-observability-console-plugin-pf5-rhel9, registry.redhat.io/network-observability/network-observability-console-plugin-rhel9
  • RHSA-2026:70267 Released 2026-09-22 · Red Hat rating Important
    Red Hat Quay 3.14.9
    • Red Hat Quay 3.14 registry.redhat.io/quay/quay-rhel8
  • RHSA-2026:69255 Released 2026-09-21 · Red Hat rating Important
    Red Hat Quay 3.16.6
    • Red Hat Quay 3.16 registry.redhat.io/quay/quay-rhel9
  • RHSA-2026:68754 Released 2026-09-17 · Red Hat rating Important
    Red Hat OpenShift Dev Spaces 3.30.1 Release.
    • Red Hat OpenShift Dev Spaces 3.30 registry.redhat.io/devspaces/code-rhel9, registry.redhat.io/devspaces/dashboard-rhel9, registry.redhat.io/devspaces/openvsx-rhel9 +2
  • RHSA-2026:66523 Released 2026-09-10 · Red Hat rating Important
    Red Hat Quay 3.12.22
    • Red Hat Quay 3.12 registry.redhat.io/quay/quay-rhel8
  • RHSA-2026:66084 Released 2026-09-09 · Red Hat rating Important
    Red Hat Quay 3.10.26
    • Red Hat Quay 3.10 registry.redhat.io/quay/quay-rhel8
  • RHSA-2026:65514 Released 2026-09-08 · Red Hat rating Important
    Red Hat Quay 3.9.26
    • Red Hat Quay 3.9 registry.redhat.io/quay/quay-rhel8
  • RHSA-2026:65155 Released 2026-09-08 · Red Hat rating Important
    Ansible plug-ins for Red Hat Developer Hub Product Release Update
    • Red Hat Ansible Automation Platform 2.2 registry.redhat.io/ansible-automation-platform/automation-portal
  • RHSA-2026:65118 Released 2026-09-08 · Red Hat rating Important
    Ansible plug-ins for Red Hat Developer Hub Product Release Update
    • Red Hat Ansible Automation Platform 2.1 registry.redhat.io/ansible-automation-platform/automation-portal
  • RHSA-2026:62260 Released 2026-09-01 · Red Hat rating Important
    Red Hat OpenShift Dev Spaces 3.30.0 Release.
    • Red Hat OpenShift Dev Spaces 3.30 registry.redhat.io/devspaces/code-rhel9, registry.redhat.io/devspaces/configbump-rhel9, registry.redhat.io/devspaces/dashboard-rhel9 +7
  • RHSA-2026:61783 Released 2026-08-31 · Red Hat rating Important
    A Subscription Management tool for finding and reporting Red Hat product usage
    • Red Hat Discovery 2 registry.redhat.io/discovery/discovery-server-rhel9, registry.redhat.io/discovery/discovery-ui-rhel9
  • RHSA-2026:60390 Released 2026-08-26 · Red Hat rating Important
    Red Hat Advanced Cluster Management for Kubernetes v2.13.11 security update
    • Red Hat Advanced Cluster Management for Kubernetes 2.13 registry.redhat.io/rhacm2/acm-governance-policy-addon-controller-rhel9, registry.redhat.io/rhacm2/acm-grafana-rhel9, registry.redhat.io/rhacm2/acm-multicluster-observability-addon-rhel9 +23
  • RHSA-2026:60388 Released 2026-08-26 · Red Hat rating Important
    Red Hat Advanced Cluster Management for Kubernetes v2.14.4 security update
    • Red Hat Advanced Cluster Management for Kubernetes 2.14 registry.redhat.io/rhacm2/acm-governance-policy-addon-controller-rhel9, registry.redhat.io/rhacm2/acm-grafana-rhel9, registry.redhat.io/rhacm2/acm-multicluster-observability-addon-rhel9 +26
  • RHSA-2026:60387 Released 2026-08-26 · Red Hat rating Important
    Red Hat Advanced Cluster Management for Kubernetes v2.11.11 security update
    • Red Hat Advanced Cluster Management for Kubernetes 2.11 registry.redhat.io/rhacm2/acm-governance-policy-addon-controller-rhel9, registry.redhat.io/rhacm2/acm-must-gather-rhel9, registry.redhat.io/rhacm2/acm-prometheus-config-reloader-rhel9 +24
  • RHSA-2026:60386 Released 2026-08-26 · Red Hat rating Important
    Red Hat Advanced Cluster Management for Kubernetes v2.17.1 security update
    • Red Hat Advanced Cluster Management for Kubernetes 2.17 registry.redhat.io/rhacm2/acm-governance-policy-addon-controller-rhel9, registry.redhat.io/rhacm2/acm-grafana-rhel9, registry.redhat.io/rhacm2/acm-multicluster-observability-addon-rhel9 +31
  • RHSA-2026:59593 Released 2026-08-25 · Red Hat rating Important
    multicluster engine for Kubernetes v2.17.2 security update
    • multicluster engine for Kubernetes 2.17 registry.redhat.io/multicluster-engine/cluster-api-provider-kubevirt-rhel9, registry.redhat.io/multicluster-engine/cluster-curator-controller-rhel9, registry.redhat.io/multicluster-engine/cluster-image-set-controller-rhel9 +6
  • RHSA-2026:59559 Released 2026-08-25 · Red Hat rating Important
    multicluster engine for Kubernetes v2.9.7 security update
    • multicluster engine for Kubernetes 2.9 registry.redhat.io/multicluster-engine/addon-manager-rhel9, registry.redhat.io/multicluster-engine/cluster-curator-controller-rhel9, registry.redhat.io/multicluster-engine/cluster-image-set-controller-rhel9 +15
  • RHSA-2026:59558 Released 2026-08-25 · Red Hat rating Important
    multicluster engine for Kubernetes v2.8.10 security update
    • multicluster engine for Kubernetes 2.8 registry.redhat.io/multicluster-engine/addon-manager-rhel9, registry.redhat.io/multicluster-engine/backplane-rhel9-operator, registry.redhat.io/multicluster-engine/cluster-api-provider-agent-rhel9 +20
  • RHSA-2026:48241 Released 2026-07-29 · Red Hat rating Important
    Red Hat Hardened Images RPMs Security Update
    • Red Hat Hardened Images grafana13.1-13.1.1-0.3.hum1@aarch64, grafana13.1-13.1.1-0.3.hum1@src, grafana13.1-13.1.1-0.3.hum1@x86_64
  • RHSA-2026:47619 Released 2026-07-28 · Red Hat rating Important
    Red Hat Hardened Images RPMs bug fix and enhancement update
    • Red Hat Hardened Images grafana12.4-12.4.6-0.2.hum1@aarch64, grafana12.4-12.4.6-0.2.hum1@src, grafana12.4-12.4.6-0.2.hum1@x86_64
  • RHSA-2026:47614 Released 2026-07-28 · Red Hat rating Important
    Red Hat Hardened Images RPMs bug fix and enhancement update
    • Red Hat Hardened Images jaeger-2.20.0-0.6.hum1@aarch64, jaeger-2.20.0-0.6.hum1@src, jaeger-2.20.0-0.6.hum1@x86_64

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
Migration Toolkit for ContainersAffectedNo fix planned: Will not fix
Node HealthCheck OperatorAffectedNo fix yet
OpenShift LightspeedAffectedNo fix yet
OpenShift PipelinesAffectedNo fix yet
Red Hat Ansible Automation Platform 2AffectedNo fix planned: Will not fix
Red Hat Build of Podman DesktopAffectedNo fix yet
Red Hat Certification Program for Red Hat Enterprise Linux 9AffectedNo fix yet
Red Hat Connectivity Link 1AffectedNo fix yet
Red Hat Developer Hub 1AffectedNo fix yet
Red Hat Enterprise Linux AI (RHEL AI) 3AffectedNo fix yet
Red Hat OpenShift GitOpsAffectedNo fix yet
Red Hat Openshift Data Foundation 4AffectedNo fix yet
Red Hat Satellite 6AffectedNo fix planned: Will not fix
Red Hat build of Apicurio Registry 3AffectedNo fix yet
Secrets Management Console for Red Hat OpenShiftAffectedNo fix yet
Network Observability (NETOBSERV) 1.12.3Fixed RHSA-2026:70593
Red Hat Advanced Cluster Management for Kubernetes 2.11Fixed RHSA-2026:60387
Red Hat Advanced Cluster Management for Kubernetes 2.13Fixed RHSA-2026:60390
Red Hat Advanced Cluster Management for Kubernetes 2.14Fixed RHSA-2026:60388
Red Hat Advanced Cluster Management for Kubernetes 2.17Fixed RHSA-2026:60386
Red Hat Ansible Automation Platform 2.1Fixed RHSA-2026:65118
Red Hat Ansible Automation Platform 2.2Fixed RHSA-2026:65155
Red Hat Developer Hub 1.10Fixed RHSA-2026:79088
Red Hat Discovery 2Fixed RHSA-2026:61783
Red Hat Hardened ImagesFixed RHSA-2026:47614, RHSA-2026:47619, RHSA-2026:48241
Red Hat OpenShift AI 2.25Fixed RHSA-2026:87410
Red Hat OpenShift AI 3.4Fixed RHSA-2026:84734
Red Hat OpenShift Container Platform 4.20Fixed RHSA-2026:74380
Red Hat OpenShift Container Platform 4.21Fixed RHSA-2026:74383
Red Hat OpenShift Container Platform 4.22Fixed RHSA-2026:74429
Red Hat OpenShift Dev Spaces 3.30Fixed RHSA-2026:62260, RHSA-2026:68754
Red Hat OpenShift Dev Spaces 3.31Fixed RHSA-2026:90321
Red Hat Openshift Data Foundation 4.19Fixed RHSA-2026:92650
Red Hat Quay 3.10Fixed RHSA-2026:66084
Red Hat Quay 3.12Fixed RHSA-2026:66523
Red Hat Quay 3.14Fixed RHSA-2026:70267
Red Hat Quay 3.16Fixed RHSA-2026:69255
Red Hat Quay 3.17Fixed RHSA-2026:74511
Red Hat Quay 3.9Fixed RHSA-2026:65514
Red Hat Trusted Artifact Signer 1.4Fixed RHSA-2026:83598
multicluster engine for Kubernetes 2.17Fixed RHSA-2026:59593
multicluster engine for Kubernetes 2.8Fixed RHSA-2026:59558
multicluster engine for Kubernetes 2.9Fixed RHSA-2026:59559
Not affected: 46 products
  • Gatekeeper 3
  • Network Observability (NETOBSERV) 1.12.3
  • OpenShift Service Mesh 3
  • Red Hat 3scale API Management Platform 2
  • Red Hat AMQ Broker 7
  • Red Hat Advanced Cluster Management for Kubernetes 2.11
  • Red Hat Advanced Cluster Management for Kubernetes 2.13
  • Red Hat Advanced Cluster Management for Kubernetes 2.14
  • Red Hat Advanced Cluster Management for Kubernetes 2.17
  • Red Hat Ansible Automation Platform 2
  • Red Hat Build of Keycloak
  • Red Hat Data Grid 8
  • Red Hat Developer Hub 1
  • Red Hat Developer Hub 1.10
  • Red Hat Discovery 2
  • Red Hat Enterprise Linux 10
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9
  • Red Hat Hardened Images
  • Red Hat JBoss Enterprise Application Platform 8
  • Red Hat JBoss Enterprise Application Platform Expansion Pack
  • Red Hat OpenShift AI (RHOAI)
  • Red Hat OpenShift AI 2.25
  • Red Hat OpenShift AI 3.4
  • Red Hat OpenShift Container Platform 4
  • Red Hat OpenShift Container Platform 4.20
  • Red Hat OpenShift Container Platform 4.21
  • Red Hat OpenShift Container Platform 4.22
  • Red Hat OpenShift Container Platform 5
  • Red Hat OpenShift Dev Spaces 3.30
  • Red Hat OpenShift Dev Spaces 3.31
  • Red Hat Openshift Data Foundation 4.19
  • Red Hat Quay 3.10
  • Red Hat Quay 3.12
  • Red Hat Quay 3.14
  • Red Hat Quay 3.16
  • Red Hat Quay 3.17
  • Red Hat Quay 3.9
  • Red Hat Satellite 6
  • Red Hat Trusted Artifact Signer
  • Red Hat Trusted Artifact Signer 1.4
  • Red Hat build of Apache Camel for Spring Boot 4
  • multicluster engine for Kubernetes 2.17
  • multicluster engine for Kubernetes 2.8
  • multicluster engine for Kubernetes 2.9

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-67213
  2. 2026-10-03 Alias added: GHSA-2v37-7h3g-55p8
  3. 2026-10-06 Fix available: RHSA-2026:74429 · Red Hat
  4. 2026-10-06 Fix available: RHSA-2026:74383 · Red Hat
  5. 2026-10-06 Fix available: Red Hat OpenShift Container Platform 4.21, Red Hat OpenShift Container Platform 4.22 · Red Hat
  6. 2026-10-07 Fix available: RHSA-2026:74380 · Red Hat
  7. 2026-10-07 Fix available: Red Hat OpenShift Container Platform 4.20 · Red Hat
  8. 2026-10-08 Affected versions changed · Red Hat
  9. 2026-10-09 Fix available: RHSA-2026:79088 · Red Hat
  10. 2026-10-09 Fix available: Red Hat Developer Hub 1.10 · Red Hat
  11. 2026-10-16 Fix available: RHSA-2026:83598 · Red Hat
  12. 2026-10-16 Fix available: Red Hat Trusted Artifact Signer 1.4 · Red Hat
  13. 2026-10-20 Fix available: RHSA-2026:84734 · Red Hat
  14. 2026-10-20 Fix available: Red Hat OpenShift AI 3.4 · Red Hat
  15. 2026-10-22 Fix available: RHSA-2026:87410 · Red Hat
  16. 2026-10-23 Fix available: Red Hat OpenShift AI 2.25 · Red Hat
  17. 2026-10-27 Affected versions changed · Red Hat
  18. 2026-10-29 Fix available: Red Hat OpenShift Dev Spaces 3.31 · Red Hat
  19. 2026-10-30 Fix available: RHSA-2026:90321 · Red Hat
  20. 2026-10-30 Affected versions changed · Red Hat
  21. 2026-10-30 Fix available: Red Hat Openshift Data Foundation 4.19 · Red Hat
  22. 2026-10-31 Fix available: RHSA-2026:92650 · Red Hat

References

  • TI-2026-47530 nanoid Infinite Loop via Negative Size in non-secure module CVSS 4.0HIGH 8.2
  • TI-2021-06164 Information exposure in nanoid CVSS 3.1MEDIUM 5.5

Sources