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
- CGA-33v5-gh8r-282g
- CGA-3qff-h4hj-w62p
- CGA-47m9-g8c4-vx6r
- CGA-4qp9-22g4-v4g2
- CGA-73f2-crh9-q3hr
- CGA-8p8x-7hp5-p7rh
- CGA-942r-c9vv-rqrv
- CGA-97r9-q83g-q5h5
- CGA-9p5r-g3gj-3fmh
- CGA-cc94-9h9w-f2c9
- CGA-f33h-mg46-57qq
- CGA-fj34-8j6j-hf59
- CGA-fwqr-qr5f-g8p3
- CGA-g464-j8cx-9rp3
- CGA-hf66-hjcc-9vx7
- CGA-hp84-3q7p-h5rh
- CGA-hpp7-7hrq-7gfr
- CGA-j2m5-79cf-v375
- CGA-jhm4-v33v-gp62
- CGA-jw6f-w237-7329
- CGA-m4w8-r45c-r968
- CGA-pchm-c4rp-hwfw
- CGA-qf76-rgq8-7w98
- CGA-rg5m-q32x-wrvq
- CGA-rvqj-9x9w-rv7m
- CGA-v9j6-cwhw-jm4g
- CGA-vwj8-w7r2-rqr9
- CGA-w5xw-7fqv-p45r
-
DEBIAN-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…
-
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…
-
GHSA-h395-gr6q-cpjc
jsonwebtoken has Type Confusion that leads to potential authorization bypass
-
UBUNTU-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…