{"id":"CVE-2026-107721","published":"2026-10-08T21:45:57Z","modified":"2026-10-09T15:13:11Z","title":"fast-jwt clockTolerance: Infinity silently bypasses both exp and nbf validation (and persists in the verifier cache)","vendor":"nearform","product":"fast-jwt","tier":"tail","description":{"text":"fast-jwt provides fast JSON Web Token (JWT) implementation. Prior to 6.3.0, fast-jwt createVerifier accepts Infinity for clockTolerance because its option validation checks type and negativity but not finiteness. In validateClaimDateValue, infinite positive and negative modifiers make exp and nbf comparisons always pass, allowing expired or not-yet-active tokens to be accepted. The verifier cache also derives infinite bounds, so entries created under this configuration can remain valid until eviction. Exploitation requires an application administrator or equivalent configuration path to set clockTolerance to Infinity. This issue is fixed in version 6.3.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00341,"percentile":0.28368,"provenance":"source"},"cwes":[{"id":"CWE-613","name":"DEPRECATED: Insufficient Session Expiration"},{"id":"CWE-682","name":"Incorrect Calculation"}],"references":[{"url":"https://github.com/nearform/fast-jwt/security/advisories/GHSA-687g-22h4-j4w4","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nearform/fast-jwt/commit/c0fb5b88b4c88ff2bdd194ca2c713599ad9e38b6","tags":["x_refsource_MISC"]},{"url":"https://github.com/nearform/fast-jwt/releases/tag/v6.3.0","tags":["x_refsource_MISC"]}],"priority":{"score":9.8,"factors":[{"name":"EPSS percentile","points":5.67},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"nearform","affectedVersions":[{"vendor":"nearform","product":"fast-jwt","versions":["< 6.3.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-09T15:00:04.372564Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"fast-jwt","vulnerableRanges":["<6.3.0"],"patched":["6.3.0"],"from":["GHSA-687g-22h4-j4w4"],"provenance":"source"}],"summary":{"text":"The fast-jwt library's createVerifier option validation accepts Infinity for clockTolerance, so the expiry (exp) and not-before (nbf) date checks are silently disabled, and the verifier cache can keep those results alive. An attacker with network access can use expired or not-yet-active tokens to get accepted, but only if an administrator or equivalent configuration path has already set clockTolerance to Infinity, and the attacker must hold a sufficient level of privilege.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:05:51Z"},"euvd":{"id":"EUVD-2026-95345","exploited":false,"provenance":"source"}}