{"id":"CVE-2026-107719","published":"2026-10-08T21:41:55Z","modified":"2026-10-09T15:48:26Z","title":"fast-jwt: Verifier cache accepts expired JWTs without iat.","vendor":"nearform","product":"fast-jwt","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.2,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0028,"percentile":0.13071,"provenance":"source"},"cwes":[{"id":"CWE-613","name":"DEPRECATED: Insufficient Session Expiration"}],"references":[{"url":"https://github.com/nearform/fast-jwt/security/advisories/GHSA-x937-hj6v-793p","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nearform/fast-jwt/commit/fc1ddbbe5ce38066ba2cea0b0ce0233932757167","tags":["x_refsource_MISC"]},{"url":"https://github.com/nearform/fast-jwt/releases/tag/v6.3.4","tags":["x_refsource_MISC"]}],"priority":{"score":5.6,"factors":[{"name":"EPSS percentile","points":2.61},{"name":"CVSS severity","points":2.94}]},"vendorSlug":"nearform","affectedVersions":[{"vendor":"nearform","product":"fast-jwt","versions":["< 6.3.4"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-09T15:48:11.496610Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"fast-jwt","vulnerableRanges":["<6.3.4"],"patched":["6.3.4"],"from":["GHSA-x937-hj6v-793p"],"provenance":"source"}],"summary":{"text":"The fast-jwt library's createVerifier cache, in src/verifier.js, can keep accepting a previously valid JWT after its exp time when caching is enabled and the token includes exp but no iat, because the cache deadline is only derived when iat is present and otherwise falls back to cacheTTL. An attacker who can replay the same cached bearer token can extend their access until the cache entry expires, but cannot forge tokens through this flaw; the attack requires network access, a low-privilege account, and a cached token that was previously valid.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:17:07Z"},"euvd":{"id":"EUVD-2026-95343","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-107723","published":"2026-10-08","fixed":"6.3.0","kev":false},{"cve":"CVE-2026-107724","published":"2026-10-08","fixed":"6.3.0","kev":false},{"cve":"CVE-2026-107720","published":"2026-10-08","fixed":"6.3.1","kev":false,"link":{"from":"CVE-2026-107720","to":"CVE-2026-107719","relation":"successor","confidence":"high","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:fast-jwt","fromFixed":"6.3.1","toFixed":"6.3.4","daysApart":0},{"kind":"same-code","provenance":"machine","files":["src/verifier.js"],"commits":["https://github.com/nearform/fast-jwt/commit/fc1ddbbe5ce38066ba2cea0b0ce0233932757167","https://github.com/nearform/fast-jwt/commit/e22a151e83bf6d5e54e281216982d204d5665534"],"basis":"shared file"}]}},{"cve":"CVE-2026-107719","published":"2026-10-08","fixed":"6.3.4","kev":false}],"package":"npm:fast-jwt"}}