Skip to main content
No exploitation reportedFix available

CVE-2026-67214

No exploitation reported by the sources we read.

  • Published2026-07-29
  • Fixed in5.1.16 · 3.3.16
  • WeaknessCWE-835

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

nanoid (Nano ID) before 3.3.16 and 5.1.16 contains an infinite loop in the customAlphabet and nanoid functions of its non-secure module (nanoid/non-secure). When these functions are given a negative size, the loop counter is decremented from a negative value and never reaches its termination condition, spinning indefinitely and hanging the calling thread. An application that passes an unvalidated, attacker-controlled negative size to these functions is exposed to a denial-of-service condition.

Timeline

dates in UTC
  1. 2026-07-2914:16CVE publishedNVD

Versions per branch

NVD · OSV
Nanoid project nanoid
BranchAffectedFixed in
5.1≥ 4.0.0, < 5.1.165.1.16
3.3< 3.3.163.3.16

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As VulnCheck, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • nanoid_project nanoidother versions: not affected
    Affected
    • ≥ 4.0.0, < 5.1.16fixed in 5.1.16semver
    • < 3.3.16fixed in 3.3.16semver

    Not affected = 5.1.16 · = 3.3.16

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-10-29

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • @rootio/nanoidRoot:npmall versions · fixed in 3.3.4-root.io.2
  • @rootio/nanoidRoot:npmall versions · fixed in 3.1.20-root.io.5
  • @rootio/nanoidRoot:npmall versions · fixed in 3.3.11-root.io.1
  • @rootio/nanoidRoot:npmall versions · fixed in 3.3.11-root.io.2
  • @rootio/nanoidRoot:npmall versions · fixed in 3.3.12-root.io.1
  • @rootio/nanoidRoot:npmall versions · fixed in 3.3.13-root.io.1
  • @rootio/nanoidRoot:npmall versions · fixed in 3.3.15-root.io.1
  • @rootio/nanoidRoot:npmall versions · fixed in 3.3.16-root.io.1

143 more package ranges on OSV.dev

Vendor advisories

  • CVE-2026-67214 Red Hat Product Security94 products fixed · 22 known affected

    nanoid: nanoid: Denial of Service via negative size input in non-secure module functions

    rhmtc/openshift-migration-ui-rhel8 as a component of Migration Toolkit for Containers · workload-availability/node-healthcheck-rhel9-operator as a component of Node HealthCheck Operator · workload-availability/node-remediation-console-rhel8 as a component of Node HealthCheck Operator · +19 more

  • RHSA-2026:95347 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: OpenShift Container Platform 4.22.22 bug fix and security update

  • RHSA-2026:92650 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: Red Hat OpenShift Data Foundation 4.19.26 security, enhancement & bug fix update

  • RHSA-2026:87410 Red Hat Product Security3 products fixed

    Red Hat Security Advisory: RHOAI 2.25.12 - Red Hat OpenShift AI

  • RHSA-2026:83598 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: RHTAS 1.4.4 - Red Hat Trusted Artifact Signer Release

  • RHSA-2026:81110 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: Red Hat Quay 3.18.1

24 more advisories

Full record on NVD

Fix

  1. Update Nanoid project nanoid to 5.1.16 · 3.3.16
  2. Vendor fix Red Hat Product Security RHSA-2026:95347 · 4 productsFor OpenShift Container Platform 4.22 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.redhat.com/en/documentation/openshift_container_platform/4.…
  3. Vendor fix Red Hat Product Security RHSA-2026:92650 · 4 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://docs.redhat.com/en/documentation/red_hat_openshift_data_foundation/4.19/html/updating_openshift_data_foundation/updating-ocs-…
  4. Vendor fix Red Hat Product Security RHSA-2026:87410 · 3 productsFor Red Hat OpenShift AI 2.25.12 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this errata update: https://docs.redhat.com/en/documentation/red_hat_openshift_ai/
  5. Vendor fix Red Hat Product Security RHSA-2026:83598 · 1 productRed Hat Trusted Artifact Signer simplifies cryptographic signing and verifying of software artifacts such as container images, binaries and source code changes. It is a self-managed on-premise deployment of the Sigstore project available at https://sigstore.dev Platform Engineers, Software Develop…
  6. Vendor fix Red Hat Product Security RHSA-2026:81110 · 4 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied.
  7. Vendor fix Red Hat Product Security RHSA-2026:79088 · 1 productFor more about Red Hat Developer Hub, see References links

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • CISA-ADPSSVC decisionnone2026-07-29
  • CNACVSS 4.08.2known since 2026-10-30
  • CNACVSS 3.15.9known since 2026-10-30
  • NVDCVSS 3.17.5read 2026-10-30
  • CNAweakness (CWE)CWE-835known since 2026-10-30
  • FIRST EPSSEPSS score0.4 %2026-12-03
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryHigh2026-08-07

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 4.0 vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Published
2026-07-29
Last modified
2026-10-29
NVD status
Analyzed
GitHub advisory
GHSA-28wg-ghj8-5hjv

Frequently asked questions

What is CVE-2026-67214?

nanoid (Nano ID) before 3.3.16 and 5.1.16 contains an infinite loop in the customAlphabet and nanoid functions of its non-secure module (nanoid/non-secure). When these functions are given a negative size, the loop counter is decremented from a negative value and never reaches its termination condition, spinning indefinitely and hanging the calling thread. An application that passes an unvalidated, attacker-controlled negative size to these functions is exposed to a denial-of-service condition.

Is CVE-2026-67214 actively exploited?

Active exploitation of CVE-2026-67214 has not been confirmed. Its EPSS score was 0.4% on 2026-12-03, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2026-67214?

CVE-2026-67214 has a CVSS v3 base score of 7.5 (High severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Running nanoid? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record