← Back to search

CVE-2026-107723

8.1 HIGHpublic exploit available

Published 2026-10-08 · Updated 2026-10-14

AI risk analysis

Summary
The fast-jwt library incorrectly accepts JWT payloads that are JSON arrays instead of objects, allowing attackers to bypass critical security checks like expiration, issuer, and audience validation. This occurs because the verifier doesn't reject array payloads, leading to silently skipped claim validations.
Exploitability
Exploitation requires an attacker who can generate or influence a validly signed JWT with an array payload, which is moderately difficult but possible in systems that accept user-provided tokens, with preconditions including the ability to craft valid signatures and control token payloads.
Blast radius
The impact could be significant across applications using fast-jwt for authentication, potentially allowing unauthorized access to protected resources by bypassing essential JWT security controls.
Detection
No reliable host or network indicator is derivable from the published description.
Prioritized remediation
Upgrade to version 6.3.0 or later to fix the JWT payload validation issue.
jwtauth-bypassauthentication

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD description

fast-jwt provides fast JSON Web Token (JWT) implementation. Prior to 6.3.0, fast-jwt createVerifier accepts a validly signed JWT whose payload is a JSON array because src/decoder.js checks that the payload is an object but does not reject arrays. The claim validator loop then finds no named exp, nbf, iss, aud, sub, jti, or nonce properties and silently skips those configured checks, returning the array as a successfully verified payload. An attacker who can produce or influence a validly signed token may bypass expiry, issuer, audience, subject, revocation, and replay protections. The opt-in requiredClaims option can block missing claims, and signature verification itself is not bypassed. This issue is fixed in version 6.3.0.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Weaknesses

CWE-1287

Public exploit & PoC references

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.