CVE-2026-73086
Full vulnerability record from the local CVENow database.
Description
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
HIGH
CVSS score
7.4
(v3.1)
Vulnerability status
Deferred
Source identifier
Published
2026-08-11 17:19:16.690000
Last modified
2026-10-24 15:10:00.190000
View original CVE JSON
{
"id": "CVE-2026-73086",
"sourceIdentifier": "[email protected]",
"published": "2026-08-11T17:19:16.690",
"lastModified": "2026-10-24T15:10:00.190",
"vulnStatus": "Deferred",
"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."
},
{
"lang": "es",
"value": "nanoid es un generador de ID de cadena único, seguro y compatible con URL para JavaScript. Antes de las versiones 3.3.12 y 5.1.11, la función nanoid(size) en index.js e index.cjs coerciona el parámetro ’size’, influenciado por el usuario, a un entero con signo de 32 bits, permitiendo que un valor de 2147483648 se convierta en -2147483648 y corrompa el poolOffset del CSPRNG a nivel de proceso en fillPool(), lo que provoca que los subsiguientes tokens de sesión, tokens CSRF, claves API e identificadores únicos se conviertan en la cadena determinista ’uuuuuuuuuuuuuuuuuuuuu’ hasta que el proceso se reinicie. Este problema se ha solucionado en las versiones 3.3.12 y 5.1.11."
}
],
"affected": [
{
"source": "[email protected]",
"affectedData": [
{
"vendor": "ai",
"product": "nanoid",
"versions": [
{
"version": "< 3.3.12",
"status": "affected"
},
{
"version": ">= 4.0.0, < 5.1.11",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "[email protected]",
"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": "[email protected]",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-190"
}
]
}
],
"references": [
{
"url": "https://github.com/ai/nanoid/commit/7087969281cab8ba8ae3babf1894e819068b3bb4",
"source": "[email protected]"
},
{
"url": "https://github.com/ai/nanoid/commit/821dfed7b5db7f88e92f56c60eef32c8135077c3",
"source": "[email protected]"
},
{
"url": "https://github.com/ai/nanoid/commit/b0036ed60dc9facd7f1191a50dfb3076500202ac",
"source": "[email protected]"
},
{
"url": "https://github.com/ai/nanoid/releases/tag/3.3.12",
"source": "[email protected]"
},
{
"url": "https://github.com/ai/nanoid/releases/tag/5.1.11",
"source": "[email protected]"
},
{
"url": "https://github.com/ai/nanoid/security/advisories/GHSA-xwg4-73v4-xw9w",
"source": "[email protected]"
}
]
}