Is nanoid safe? Known vulnerabilities by version
nanoid is a JavaScript package on npm. We track 2 of its versions: 1 of them has known vulnerabilities.
The newest stable version we track with no known advisory, as of 22 November 2026. A newer release may exist on npm.
Vulnerabilities by version
Every advisory for nanoid
-
High
CVSS 5.9
CVE-2026-67214: nanoid: non-secure generators can loop indefinitely with negative size
Affects 3.3.7 (of the versions we track).
-
High
CVSS 5.9
CVE-2026-67213: nanoid: custom generators can loop indefinitely when size is zero
Affects 3.3.7 (of the versions we track).
-
High
CVSS 7.4
CVE-2026-73086: nanoid: Integer Overflow or Wraparound
Affects 3.3.7 (of the versions we track).
-
Medium
CVSS 4.3
CVE-2024-55565: Predictable results in nanoid generation when given non-integer values
Affects 3.3.7 (of the versions we track).
Licence
Every version we track declares MIT (from deps.dev).
Check your whole project
nanoid is one package among hundreds in a lockfile. Upload your lockfile, or paste a public GitHub repository, and get every vulnerable package with the version that fixes it. Free, and no account needed.
Get emailed about new advisories for nanoid (free, no account)
About this data
Vulnerability data: OSV.dev, last checked 22 November 2026. Licences: deps.dev. These pages list the versions AIssue checks every day for the projects it monitors, not every version ever released.