CVE-2026-25537 jsonwebtoken has Type Confusion that leads to potential authorization bypass
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
- Technology
- UbuntuDebianRed Hat
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.
Upgrade path
9 packages: 2 fixed, 7 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/rust-jsonwebtoken(Debian 12) | = 8.2.0-1; = 8.3.0-1; = 8.3.0-2; = 8.3.0-3 +4 more | No fix listed | No fix yet |
| debian/rust-jsonwebtoken(Debian 13) | = 8.3.0-5; = 9.3.1-1; All versions | No fix listed | No fix yet |
| debian/rust-jsonwebtoken(Debian 14) | = 8.3.0-5; = 9.3.1-1; All versions | No fix listed | No fix yet |
| redhat/ansible-automation-platform-26/lightspeed-chatbot-rhel9(Red Hat ansible_automation_platform 2) | All versions | No fix listed | No fix yet |
| ubuntu/rust-jsonwebtoken(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/rust-jsonwebtoken(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/rust-jsonwebtoken(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| crates.io jsonwebtoken(crates.io) | < 10.3.0 | 10.3.0 | Fixed |
| Keats jsonwebtoken | < 10.3.0; = < 10.3.0 | 10.3.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io jsonwebtoken(crates.io) | < 10.3.0 | 10.3.0 |
| Keats jsonwebtoken | = < 10.3.0 | No fix listed |
| debian/rust-jsonwebtoken(Debian:12) | All versions | No fix listed |
| debian/rust-jsonwebtoken(Debian:12) | = 8.2.0-1 | No fix listed |
| debian/rust-jsonwebtoken(Debian:12) | = 8.3.0-1 | No fix listed |
| debian/rust-jsonwebtoken(Debian:12) | = 8.3.0-2 | No fix listed |
| debian/rust-jsonwebtoken(Debian:12) | = 8.3.0-3 | No fix listed |
| debian/rust-jsonwebtoken(Debian:12) | = 8.3.0-4 | No fix listed |
| debian/rust-jsonwebtoken(Debian:12) | = 8.3.0-5 | No fix listed |
| debian/rust-jsonwebtoken(Debian:12) | = 9.3.1-1 | No fix listed |
| debian/rust-jsonwebtoken(Debian:13) | All versions | No fix listed |
| debian/rust-jsonwebtoken(Debian:13) | = 8.3.0-5 | No fix listed |
| debian/rust-jsonwebtoken(Debian:13) | = 9.3.1-1 | No fix listed |
| debian/rust-jsonwebtoken(Debian:14) | All versions | No fix listed |
| debian/rust-jsonwebtoken(Debian:14) | = 8.3.0-5 | No fix listed |
| debian/rust-jsonwebtoken(Debian:14) | = 9.3.1-1 | No fix listed |
| redhat/build-of-trustee/trustee-rhel9(Red Hat:confidential_compute_attestation:1) | All versions | No fix listed |
| redhat/confidential-compute-attestation-tech-preview/trustee-rhel9(Red Hat:confidential_compute_attestation:1) | All versions | No fix listed |
| redhat/ansible-automation-platform-26/lightspeed-chatbot-rhel9(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| redhat/rhoai/odh-model-registry-job-async-upload-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| ubuntu/rust-jsonwebtoken(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/rust-jsonwebtoken(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/rust-jsonwebtoken(Ubuntu:26.10) | All versions | No fix listed |
| Keats jsonwebtoken | < 10.3.0 | 10.3.0 |
References
- https://github.com/Keats/jsonwebtoken/security/advisories/GHSA-h395-gr6q-cpjc exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/Keats/jsonwebtoken/commit/abbc3076742c4161347bc6b8bf4aa5eb86e1dc01 patch
- github.com product
- github.com
- Debian Security Tracker CVE-2026-25537 vendor-advisory
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2436945 issue-tracking
- www.cve.org
- Ubuntu CVE tracker vendor-advisory
- bugs.debian.org issue-tracking