Security mailing lists by PureSourceCode

CVE-2026-107721

MEDIUM 5.9CVSS 3.1

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

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.

Published
8 Oct 2026
Last modified
9 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Deferred
Weakness
CWE-613CWE-682
Also known as
GHSA-687g-22h4-j4w4
Sources
NVDJSONOSV GHSA-687g-22h4-j4w4JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 5.9 CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.9 CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV npm fast-jwt < 6.3.0 6.3.0

References

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)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.