CVE-2026-107719 fast-jwt: Verifier cache accepts expired JWTs without iat.
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
Description
fast-jwt provides fast JSON Web Token (JWT) implementation. Prior to 6.3.4, the fast-jwt createVerifier cache can continue accepting a previously valid, signed JWT after its exp time when caching is enabled and the token has exp but no iat. In src/verifier.js, cacheSet derives the exp cache deadline only when iat is present, so the cache falls back to cacheTTL, and a later cache hit returns the saved payload before verifyToken rechecks expiration. An attacker who can replay the same cached bearer token can extend access until the cache entry expires, but cannot forge a token through this issue. This issue is fixed in version 6.3.4.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm fast-jwt(npm) | < 6.3.4; <= 6.3.3 | 6.3.4 | Fixed |
| nearform fast-jwt | = < 6.3.4 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| nearform fast-jwt | = < 6.3.4 | No fix listed |
| npm fast-jwt(npm) | <= 6.3.3 | No fix listed |
| npm fast-jwt(npm) | < 6.3.4 | 6.3.4 |
References
- https://github.com/nearform/fast-jwt/security/advisories/GHSA-x937-hj6v-793p exploit vendor-advisory
- https://github.com/nearform/fast-jwt/commit/fc1ddbbe5ce38066ba2cea0b0ce0233932757167 patch
- https://github.com/nearform/fast-jwt/releases/tag/v6.3.4
- github.com
- github.com product
- ENISA EUVD EUVD-2026-95343 third-party-advisory