# CVE-2026-107721: fast-jwt clockTolerance: Infinity silently bypasses both exp and nbf validation (and persists in the verifier cache)

- Severity: Medium 5.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 29% of CVEs (2026-12-01)
- Published: 2026-10-08T21:45:57.545Z
- Modified: 2026-10-09T16:17:23.590Z
- Also known as: GHSA-687g-22h4-j4w4
- Weaknesses: CWE-613, CWE-682
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- nearform fast-jwt: < 6.3.0
- fast-jwt (npm): before 6.3.0

## Every score

- GitHub_M: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/nearform/fast-jwt/security/advisories/GHSA-687g-22h4-j4w4> (web)
- <https://github.com/nearform/fast-jwt/commit/c0fb5b88b4c88ff2bdd194ca2c713599ad9e38b6> (web)
- <https://github.com/nearform/fast-jwt/releases/tag/v6.3.0> (web)
- <https://github.com/nearform/fast-jwt> (package)

## Sources

- CVE List: [CVE-2026-107721](https://www.cve.org/CVERecord?id=CVE-2026-107721), CVE Terms of Use, modified 2026-10-09
- GitHub Advisory Database: [GHSA-687g-22h4-j4w4](https://github.com/advisories/GHSA-687g-22h4-j4w4), CC-BY-4.0, modified 2026-10-08
- NVD: [CVE-2026-107721](https://nvd.nist.gov/vuln/detail/CVE-2026-107721), Public domain, modified 2026-10-09

---

Page: https://cve.day/CVE-2026-107721 · Whole record: https://cve.day/CVE-2026-107721.json · Rebuilt by cve.day 2026-11-25T22:59:43.241Z
