fast-jwt: Verifier cache accepts expired JWTs without iat.
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-107719
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 05:59 UTC · Revision 1
Source evidence
fast-jwt: Verifier cache accepts expired JWTs without iat.
core-osv · Original sourcePublished 8 Oct 2026, 21:41 UTC
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.
osv:CVE-2026-107719
Complete source record
{
"id": "94f5c29e22efb59b5110c3153c9e5beff19156cc71e6c6c68874be43087e28d8",
"url": "https://osv.dev/vulnerability/CVE-2026-107719",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "fast-jwt: Verifier cache accepts expired JWTs without iat.",
"summary": "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.",
"evidence": "osv:CVE-2026-107719",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2026-107719",
"aliases": [
"CVE-2026-107719",
"GHSA-x937-hj6v-793p"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/nearform/fast-jwt",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "c3a3a62425247586a29648b110d9d943ca4f7125"
},
{
"fixed": "fc1ddbbe5ce38066ba2cea0b0ce0233932757167"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "6.3.4"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "fc1ddbbe5ce38066ba2cea0b0ce0233932757167"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "c3a3a62425247586a29648b110d9d943ca4f7125"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v6.3.4"
}
]
}
}
],
"versions": [
"v6.3.3",
"v6.3.2",
"v6.3.1",
"v6.3.0",
"v6.2.4",
"v6.2.3",
"v6.2.2",
"v6.2.1",
"v6.2.0",
"v6.1.0",
"v2.0.0",
"v1.7.2",
"v1.7.1",
"v1.7.0",
"v1.6.1",
"v1.6.0",
"v1.5.4",
"v1.5.3",
"v1.5.2",
"v1.5.1",
"v1.5.0",
"v1.4.1",
"v1.4.0",
"v1.3.2",
"v1.3.0",
"v1.2.0",
"v1.1.3",
"v1.1.2",
"v1.1.1",
"v1.1.0",
"v1.0.0",
"v0.5.1",
"v0.5.0",
"v0.4.2",
"v0.4.1",
"v0.4.0",
"v0.3.1",
"v0.3.0",
"v0.2.0",
"v0.1.1",
"v0.1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-107719.json"
}
}
],
"modified": "2026-10-28T02:30:26.259770990Z",
"provider": "osv",
"references": [
"https://github.com/nearform/fast-jwt/releases/tag/v6.3.4",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/107xxx/CVE-2026-107719.json",
"https://github.com/nearform/fast-jwt/security/advisories/GHSA-x937-hj6v-793p",
"https://nvd.nist.gov/vuln/detail/CVE-2026-107719",
"https://github.com/nearform/fast-jwt/commit/fc1ddbbe5ce38066ba2cea0b0ce0233932757167"
],
"provider_metadata": {
"cwe_ids": [
"CWE-613"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/107xxx/CVE-2026-107719.json"
}
},
"related_cves": [
{
"value": "CVE-2026-107719",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 492901,
"published_at": "2026-10-08T21:41:55.342+00:00"
}