CVE-2026-107723
HIGH 8.1CVSS 3.1fast-jwt : Silent claim-validator bypass when JWT payload is a JSON array
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.
- Published
- 8 Oct 2026
- Last modified
- 14 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-1287
- Also known as
- GHSA-5hjw-83fp-phq9
- Sources
- NVDJSONOSV GHSA-5hjw-83fp-phq9JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | fast-jwt | < 6.3.0 | 6.3.0 |
References
- https://github.com/nearform/fast-jwt/commit/86e83efd8b5244f50859532d99244f0a9a9a4368 · WEB
- https://github.com/nearform/fast-jwt/pull/639 · WEB
- https://github.com/nearform/fast-jwt/releases/tag/v6.3.0 · WEB
- https://github.com/nearform/fast-jwt/security/advisories/GHSA-5hjw-83fp-phq9 · WEB
- https://github.com/nearform/fast-jwt · PACKAGE
History
- 25 Nov 2026 21:22 UTC · NVD: first stored (published 8 Oct 2026)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 8 Oct 2026)