CVE-2026-107723 fast-jwt : Silent claim-validator bypass when JWT payload is a JSON array
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm fast-jwt(npm) | < 6.3.0; <= 6.2.4 | 6.3.0 | Fixed |
| nearform fast-jwt | = < 6.3.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| nearform fast-jwt | = < 6.3.0 | No fix listed |
| npm fast-jwt(npm) | <= 6.2.4 | No fix listed |
| npm fast-jwt(npm) | < 6.3.0 | 6.3.0 |
References
- https://github.com/nearform/fast-jwt/security/advisories/GHSA-5hjw-83fp-phq9 exploit vendor-advisory
- https://github.com/nearform/fast-jwt/pull/639 patch
- https://github.com/nearform/fast-jwt/commit/86e83efd8b5244f50859532d99244f0a9a9a4368 patch
- https://github.com/nearform/fast-jwt/releases/tag/v6.3.0
- github.com
- github.com product
- ENISA EUVD EUVD-2026-95348 third-party-advisory