CVE-2026-107723
published high CVSS 3.1 · 8.1fast-jwt : Silent claim-validator bypass when JWT payload is a JSON array
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| nearform | — | fast-jwt< 6.3.0 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.1 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| nearform | fast-jwt | < 6.3.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-1287 CWE-1287: Improper Validation of Specified Type of Input
References
4Provider assertions
2GitHub_M · cna
fast-jwt : Silent claim-validator bypass when JWT payload is a JSON array
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 97a93ebe9b1dcb33b27d7b6b1f0fcdcbf427e0cd1fab76cdf65dae9fde832ee1
- Ingested
- 14 Oct 2026, 09:52:31 UTC
- Source record
- Official CVE record