Skip to main content
VulnerabilityPublished Updated

CVE-2026-25537: Rust jsonwebtoken · jsonwebtoken is a JWT lib in rust

Affects rust-jsonwebtokenSource GCVE Database

0
Compare
Authoritative record:CVE-2026-25537· Medium 5.5

Public exploit available · CVSS 5.5 Medium · fixed in 10.3.0 : patch rust-jsonwebtoken as a priority.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 4.0 base score
5.5Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 43% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 10.3.0
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 4 Feb 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: evidence found.

    CVSS exploit maturity: proof of concept public

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CVSS vector, the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10rust-jsonwebtokenpkg:deb/ubuntu/rust-jsonwebtoken?arch=source&distro=stonkingOther threatsAffected
  • =9.3.1-1
Fixed in–
Ubuntu 26.04 LTSrust-jsonwebtokenpkg:deb/ubuntu/rust-jsonwebtoken?arch=source&distro=resoluteOther threatsAffected
  • =8.3.0-5
  • =9.3.1-1
Fixed in–
Ubuntu 25.10rust-jsonwebtokenpkg:deb/ubuntu/rust-jsonwebtoken?arch=source&distro=questingOther threatsAffected
  • =8.3.0-5
Fixed in–
Ubuntu 24.04 LTSrust-jsonwebtokenpkg:deb/ubuntu/rust-jsonwebtoken?arch=source&distro=nobleOther threatsAffected
  • =8.3.0-1
  • =8.3.0-3
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

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.

References

Community reviews

Loading reviews…