Vulnerability
CVE-2026-25537
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.
32 advisories report this vulnerability, across 6 ecosystems.
Advisories in Fedora
-
FEDORA-2026-f400579a21
asciinema-3.0.0-5.fc43 atuin-18.6.1-10.fc43 bustle-0.13.0-4.fc43 envision-3.2.0-7.fc43 glycin-2.0.5-4.fc43 greetd-0.10.3-6.fc43 helix-25.07.1-7.fc43 keylime-agent-rust-0.2.8-10.fc43 maturin-1.9.6-4.fc43…