VDB

CVE-2026-25537

CVE-2026-25537 PUBLISHED CVSS 5.5 MEDIUM

jsonwebtoken is a JWT lib in rust. Prior to version 10.3.0, there is a Type Confusion vulnerability in jsonwebtoken, specifically, in its claim validation logic. When a standard claim (such as nbf or exp) is provided with an incorrect JSON type (Like a String instead of a Number), the library’s internal parsing mechanism marks the claim as “FailedToParse”. Crucially, the validation logic treats this “FailedToParse” state identically to “NotPresent”. This means that if a check is enabled (like: validate_nbf = true), but the claim is not explicitly marked as required in required_spec_claims, the library will skip the validation check entirely for the malformed claim, treating it as if it were not there. This allows attackers to bypass critical time-based security restrictions (like “Not Before” checks) and commit potential authentication and authorization bypasses. This issue has been patched in version 10.3.0.

EPSS 0.04% · 12.3th percentile

Risk Scores

CVSS v4.0
5.5
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P
EPSS Score
0.04%
12.3th percentile

Affected Products

VendorProductVersions
crates.iojsonwebtoken0, 0
Keatsjsonwebtoken< 10.3.0, < 10.3.0
keatsjsonwebtoken0, 0

Timeline

  • Feb 3, 2026 CVE Published
  • Feb 5, 2026 CVE Updated
  • Feb 5, 2026 EPSS Score
  • Feb 5, 2026 Security Advisory
  • Feb 7, 2026 EPSS Score
  • Feb 9, 2026 EPSS Score
  • Feb 10, 2026 PoC Published
  • Feb 10, 2026 PoC Published
  • Feb 10, 2026 PoC Published
  • Feb 10, 2026 PoC Published
  • Feb 10, 2026 PoC Published
  • Feb 10, 2026 PoC Published
Open in Interactive Console →
$ Console Community · 100/wk Open console ›