Is nanoid 1.1 vulnerable?

npm · 2 releases from 1.1.0 to 1.1.1 · latest nanoid is 6.0.2 · checked 2 Nov 2026

Yes: 4 known advisories

Yes. nanoid 1.1.1, the last 1.1 release, is affected by 4 known security advisories (3 high, 1 medium), including CVE-2026-73086, CVE-2026-67214, CVE-2026-67213. Upgrade to 3.3.18 or later to fix all of them.

Upgrade with:npm install nanoid@3.3.18

Is your project affected?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Advisories affecting nanoid 1.1.1

  • HighCVE-2026-73086GHSA-xwg4-73v4-xw9w1 Sept 2026

    nanoid: Integer Overflow or Wraparound

    Affected
    <3.3.12 · >=4.0.0 <5.1.11
    Fixed in
    3.3.12, 5.1.11
  • HighCVE-2026-67214GHSA-28wg-ghj8-5hjv29 Jul 2026

    nanoid: non-secure generators can loop indefinitely with negative size

    Affected
    <3.3.16 · >=4.0.0 <5.1.16
    Fixed in
    3.3.16, 5.1.16
  • HighCVE-2026-67213GHSA-2v37-7h3g-55p829 Jul 2026

    nanoid: custom generators can loop indefinitely when size is zero

    Affected
    <3.3.18 · >=4.0.0 <5.1.6
    Fixed in
    3.3.18, 5.1.6
  • MediumCVE-2024-55565GHSA-mwcw-c2x4-8c559 Dec 2024

    Predictable results in nanoid generation when given non-integer values

    Affected
    >=4.0.0 <5.0.9 · <3.3.8
    Fixed in
    3.3.8, 5.0.9

Which of your client projects are still on nanoid 1.1?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact nanoid version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other nanoid versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the npm registry. Refreshed daily.