npmWorst: Critical14 advisories
fast-jwt: known vulnerabilities
fast-jwt has 14 reviewed security advisories in the GitHub Advisory Database — 4 critical, 4 high, 6 moderate. The most recent was published 2026-10-08. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the fast-jwt versions running across your servers, containers and images, and ranks what to patch first.
How to fix fast-jwt
Upgrade fast-jwt to a release at or above the fixed version shown for each advisory below. For npm:
npm install fast-jwt@6.3.0 (or run npm audit fix)
SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.
Advisories (14)
fast-jwt : Silent claim-validator bypass when JWT payload is a JSON array
High 8.1 CWE-1287
— Affected: before 6.3.0. Fixed in 6.3.0. Published 2026-10-08. GHSA-5hjw-83fp-phq9 · CVE-2026-107723
fast-jwt clockTolerance: Infinity silently bypasses both exp and nbf validation (and persists in the verifier cache)
Moderate 5.9 CWE-613 CWE-682
— Affected: before 6.3.0. Fixed in 6.3.0. Published 2026-10-08. GHSA-687g-22h4-j4w4 · CVE-2026-107721
fast-jwt: createVerifier accepts unsigned JWTs when key is '' or null and algorithms is explicitly set
High 7.4 CWE-20 CWE-347
— Affected: before 6.3.1. Fixed in 6.3.1. Published 2026-10-08. GHSA-8wpc-h4q6-8fxv · CVE-2026-107720
fast-jwt treats raw public JWK JSON as an HMAC secret, enabling HS256 token forgery
High 7.4 CWE-347
— Affected: from 6.2.4 up to 6.3.0. Fixed in 6.3.0. Published 2026-10-08. GHSA-g3jj-5cmm-3hxx · CVE-2026-107724
fast-jwt: Incomplete patch of CVE-2026-34950: Non-whitespace key-prefix re-enables RSA→HS256 algorithm confusion
Critical 9.8 CWE-347
— Affected: from 6.2.0 up to 6.3.0. Fixed in 6.3.0. Published 2026-10-08. GHSA-ww5h-9m49-7xx4 · CVE-2026-107722
fast-jwt: Verifier cache accepts expired JWTs without iat.
Moderate 4.2 CWE-613
— Affected: before 6.3.4. Fixed in 6.3.4. Published 2026-10-08. GHSA-x937-hj6v-793p · CVE-2026-107719
fast-jwt: JWT auth bypass due to empty HMAC secret accepted by async key resolver
Critical 9.1 CWE-1391 CWE-287 CWE-326
— Affected: before 6.2.4. Fixed in 6.2.4. Published 2026-05-13. GHSA-gmvf-9v4p-v8jc · CVE-2026-44351
fast-jwt: Stateful RegExp (/g or /y) causes non-deterministic allowed-claim validation (logical DoS)
Moderate 5.3 CWE-440 CWE-697
— Affected: before 6.2.1. Fixed in 6.2.1. Published 2026-04-09. GHSA-3j8v-cgw4-2g6q · CVE-2026-35040
fast-jwt has a ReDoS when using RegExp in allowed* leading to CPU exhaustion during token verification
Moderate 4.2 CWE-1333
— Affected: from 5.0.0 up to 6.2.1. Fixed in 6.2.1. Published 2026-04-09. GHSA-cjw9-ghj4-fwxf · CVE-2026-35041
fast-jwt accepts unknown `crit` header extensions (RFC 7515 violation)
High 7.5 CWE-345 CWE-636
— Affected: up to and including 6.1.0. No fixed release is listed. Published 2026-04-06. GHSA-hm7r-c7qw-ghp6 · CVE-2026-35042
fast-jwt: Incomplete fix for CVE-2023-48223: JWT Algorithm Confusion via Whitespace-Prefixed RSA Public Key
Critical 9.1 CWE-20 CWE-327
— Affected: before 6.2.0. Fixed in 6.2.0. Published 2026-04-06. GHSA-mvf2-f6gm-w987 · CVE-2026-34950
fast-jwt: Cache Confusion via cacheKeyBuilder Collisions Can Return Claims From a Different Token (Identity/Authorization Mixup)
Critical 9.1 CWE-1289 CWE-345 CWE-706
— Affected: from 0.0.1 up to 6.2.0. Fixed in 6.2.0. Published 2026-04-06. GHSA-rp9m-7r4c-75qg · CVE-2026-35039
Fast-JWT Improperly Validates iss Claims
Moderate 6.5 CWE-290
— Affected: before 5.0.6. Fixed in 5.0.6. Published 2025-03-19. GHSA-gm45-q3v2-6cf8 · CVE-2025-30144
JWT Algorithm Confusion
Moderate 5.9 CWE-20
— Affected: before 3.3.2. Fixed in 3.3.2. Published 2023-11-20. GHSA-c2ff-88x2-x9pg · CVE-2023-48223
Find fast-jwt across your fleet
Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA,
CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month.
Start free.