CVE-2026-73086 (GCVE-0-2026-73086)

Vulnerability from cvelistv5 – Published: 2026-08-11 16:46 – Updated: 2026-08-12 14:29
VLAI
Title
nanoid: Integer Overflow or Wraparound
Summary
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.
SSVC
Exploitation: none Automatable: no Technical Impact: total
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-08-12 14:26 UTC
CWE
  • CWE-190 - Integer Overflow or Wraparound
Assigner
Impacted products
Vendor Product Version
ai nanoid Affected: < 3.3.12
Affected: >= 4.0.0, < 5.1.11
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-73086",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-08-12T14:26:22.656696Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-08-12T14:29:36.568Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "nanoid",
          "vendor": "ai",
          "versions": [
            {
              "status": "affected",
              "version": "\u003c 3.3.12"
            },
            {
              "status": "affected",
              "version": "\u003e= 4.0.0, \u003c 5.1.11"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "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."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "attackComplexity": "HIGH",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 7.4,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N",
            "version": "3.1"
          }
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-190",
              "description": "CWE-190: Integer Overflow or Wraparound",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-11T16:46:23.024Z",
        "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "shortName": "GitHub_M"
      },
      "references": [
        {
          "name": "https://github.com/ai/nanoid/security/advisories/GHSA-xwg4-73v4-xw9w",
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://github.com/ai/nanoid/security/advisories/GHSA-xwg4-73v4-xw9w"
        },
        {
          "name": "https://github.com/ai/nanoid/commit/7087969281cab8ba8ae3babf1894e819068b3bb4",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/ai/nanoid/commit/7087969281cab8ba8ae3babf1894e819068b3bb4"
        },
        {
          "name": "https://github.com/ai/nanoid/commit/821dfed7b5db7f88e92f56c60eef32c8135077c3",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/ai/nanoid/commit/821dfed7b5db7f88e92f56c60eef32c8135077c3"
        },
        {
          "name": "https://github.com/ai/nanoid/commit/b0036ed60dc9facd7f1191a50dfb3076500202ac",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/ai/nanoid/commit/b0036ed60dc9facd7f1191a50dfb3076500202ac"
        },
        {
          "name": "https://github.com/ai/nanoid/releases/tag/3.3.12",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/ai/nanoid/releases/tag/3.3.12"
        },
        {
          "name": "https://github.com/ai/nanoid/releases/tag/5.1.11",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/ai/nanoid/releases/tag/5.1.11"
        }
      ],
      "source": {
        "advisory": "GHSA-xwg4-73v4-xw9w",
        "discovery": "UNKNOWN"
      },
      "title": "nanoid: Integer Overflow or Wraparound"
    }
  },
  "cveMetadata": {
    "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
    "assignerShortName": "GitHub_M",
    "cveId": "CVE-2026-73086",
    "datePublished": "2026-08-11T16:46:23.024Z",
    "dateReserved": "2026-08-10T19:37:41.445Z",
    "dateUpdated": "2026-08-12T14:29:36.568Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-73086",
      "date": "2026-08-14",
      "epss": "0.00296",
      "percentile": "0.221"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-73086\",\"sourceIdentifier\":\"security-advisories@github.com\",\"published\":\"2026-08-11T17:19:16.690\",\"lastModified\":\"2026-08-12T15:18:30.683\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"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.\"}],\"affected\":[{\"source\":\"security-advisories@github.com\",\"affectedData\":[{\"vendor\":\"ai\",\"product\":\"nanoid\",\"versions\":[{\"version\":\"\u003c 3.3.12\",\"status\":\"affected\"},{\"version\":\"\u003e= 4.0.0, \u003c 5.1.11\",\"status\":\"affected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"security-advisories@github.com\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N\",\"baseScore\":7.4,\"baseSeverity\":\"HIGH\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"HIGH\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"NONE\"},\"exploitabilityScore\":2.2,\"impactScore\":5.2}],\"ssvcV203\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"ssvcData\":{\"timestamp\":\"2026-08-12T14:26:22.656696Z\",\"id\":\"CVE-2026-73086\",\"options\":[{\"exploitation\":\"none\"},{\"automatable\":\"no\"},{\"technicalImpact\":\"total\"}],\"role\":\"CISA Coordinator\",\"version\":\"2.0.3\"}}]},\"weaknesses\":[{\"source\":\"security-advisories@github.com\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-190\"}]}],\"references\":[{\"url\":\"https://github.com/ai/nanoid/commit/7087969281cab8ba8ae3babf1894e819068b3bb4\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://github.com/ai/nanoid/commit/821dfed7b5db7f88e92f56c60eef32c8135077c3\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://github.com/ai/nanoid/commit/b0036ed60dc9facd7f1191a50dfb3076500202ac\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://github.com/ai/nanoid/releases/tag/3.3.12\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://github.com/ai/nanoid/releases/tag/5.1.11\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://github.com/ai/nanoid/security/advisories/GHSA-xwg4-73v4-xw9w\",\"source\":\"security-advisories@github.com\"}]}}",
    "redhat_vex": {
      "aggregate_severity": "Important",
      "current_release_date": "2026-08-14T20:06:23+00:00",
      "cve": "CVE-2026-73086",
      "id": "CVE-2026-73086",
      "initial_release_date": "2026-08-11T16:46:23.024000+00:00",
      "product_status:fixed": "17",
      "product_status:known_affected": "129",
      "product_status:known_not_affected": "16",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "nanoid: nanoid: Predictable ID generation due to integer overflow",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-73086.json",
      "version": "3"
    },
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2026-73086\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"total\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-08-12T14:26:22.656696Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2026-08-12T14:29:30.584Z\"}}], \"cna\": {\"title\": \"nanoid: Integer Overflow or Wraparound\", \"source\": {\"advisory\": \"GHSA-xwg4-73v4-xw9w\", \"discovery\": \"UNKNOWN\"}, \"metrics\": [{\"cvssV3_1\": {\"scope\": \"UNCHANGED\", \"version\": \"3.1\", \"baseScore\": 7.4, \"attackVector\": \"NETWORK\", \"baseSeverity\": \"HIGH\", \"vectorString\": \"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N\", \"integrityImpact\": \"HIGH\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"HIGH\", \"availabilityImpact\": \"NONE\", \"privilegesRequired\": \"NONE\", \"confidentialityImpact\": \"HIGH\"}}], \"affected\": [{\"vendor\": \"ai\", \"product\": \"nanoid\", \"versions\": [{\"status\": \"affected\", \"version\": \"\u003c 3.3.12\"}, {\"status\": \"affected\", \"version\": \"\u003e= 4.0.0, \u003c 5.1.11\"}]}], \"references\": [{\"url\": \"https://github.com/ai/nanoid/security/advisories/GHSA-xwg4-73v4-xw9w\", \"name\": \"https://github.com/ai/nanoid/security/advisories/GHSA-xwg4-73v4-xw9w\", \"tags\": [\"x_refsource_CONFIRM\"]}, {\"url\": \"https://github.com/ai/nanoid/commit/7087969281cab8ba8ae3babf1894e819068b3bb4\", \"name\": \"https://github.com/ai/nanoid/commit/7087969281cab8ba8ae3babf1894e819068b3bb4\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://github.com/ai/nanoid/commit/821dfed7b5db7f88e92f56c60eef32c8135077c3\", \"name\": \"https://github.com/ai/nanoid/commit/821dfed7b5db7f88e92f56c60eef32c8135077c3\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://github.com/ai/nanoid/commit/b0036ed60dc9facd7f1191a50dfb3076500202ac\", \"name\": \"https://github.com/ai/nanoid/commit/b0036ed60dc9facd7f1191a50dfb3076500202ac\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://github.com/ai/nanoid/releases/tag/3.3.12\", \"name\": \"https://github.com/ai/nanoid/releases/tag/3.3.12\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://github.com/ai/nanoid/releases/tag/5.1.11\", \"name\": \"https://github.com/ai/nanoid/releases/tag/5.1.11\", \"tags\": [\"x_refsource_MISC\"]}], \"descriptions\": [{\"lang\": \"en\", \"value\": \"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.\"}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-190\", \"description\": \"CWE-190: Integer Overflow or Wraparound\"}]}], \"providerMetadata\": {\"orgId\": \"a0819718-46f1-4df5-94e2-005712e83aaa\", \"shortName\": \"GitHub_M\", \"dateUpdated\": \"2026-08-11T16:46:23.024Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2026-73086\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-08-12T14:29:36.568Z\", \"dateReserved\": \"2026-08-10T19:37:41.445Z\", \"assignerOrgId\": \"a0819718-46f1-4df5-94e2-005712e83aaa\", \"datePublished\": \"2026-08-11T16:46:23.024Z\", \"assignerShortName\": \"GitHub_M\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…