fast-jwt vulnerabilities (npm)
14 vulnerabilities.
-
fast-jwtnpm fast-jwt treats raw public JWK JSON as an HMAC secret, enabling HS256 token forgery 7.4 High -
fast-jwtnpm fast-jwt : Silent claim-validator bypass when JWT payload is a JSON array 8.1 High -
fast-jwtnpm fast-jwt: Incomplete patch of CVE-2026-34950: Non-whitespace key-prefix re-enables RSA→HS256 algorithm confusion 9.8 Critical -
fast-jwtnpm fast-jwt clockTolerance: Infinity silently bypasses both exp and nbf validation (and persists in the verifier cache) 5.9 Medium -
fast-jwtnpm fast-jwt: createVerifier accepts unsigned JWTs when key is '' or null and algorithms is explicitly set 7.4 High -
fast-jwtnpm fast-jwt: Verifier cache accepts expired JWTs without iat. 4.2 Medium -
fast-jwtnpm fast-jwt: Empty HMAC secret accepted via async key resolver - JWT auth bypass 9.1 Critical -
fast-jwtnpm ReDoS in fast-jwt when using RegExp in allowed* leading to CPU exhaustion during token verification 4.2 Medium -
fast-jwtnpm fast-jwt: Stateful RegExp (/g or /y) causes non-deterministic allowed-claim validation (logical DoS) 5.3 Medium -
fast-jwtnpm fast-jwt accepts unknown `crit` header extensions (RFC 7515 §4.1.11 MUST violation) 7.5 High -
fast-jwtnpm fast-jwt Affected by Cache Confusion via cacheKeyBuilder Collisions Can Return Claims From a Different Token (Identity/Authorization Mixup) 9.1 Critical -
fast-jwtnpm fast-jwt has an incomplete fix for CVE-2023-48223: JWT Algorithm Confusion via Whitespace-Prefixed RSA Public Key 9.1 Critical -
fast-jwtnpm Fast-JWT Improperly Validates iss Claims 6.5 Medium -
fast-jwtnpm fast-jwt JWT Algorithm Confusion 5.9 Medium