GHSA-h395-gr6q-cpjc · Severity: medium · Ecosystem: rust — jsonwebtoken has Type Confusion that leads to potential authorization bypass
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.
Conclusion & alert: CVE-2026-25537 is rated Exploit Available (50/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.04%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-03-21 | 0.07% | 0.04% | -0.03% |
| 2 | 2026-02-05 | — | 0.07% | — |
Full EPSS history (2 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 5.5 | 4.0 | MEDIUM |
|
— | — | [email protected] |
| 7.5 | 3.1 | HIGH |
|
3.9 | 3.6 | [email protected] |
GHSA-h395-gr6q-cpjc · Severity: medium · Ecosystem: rust — jsonwebtoken has Type Confusion that leads to potential authorization bypass
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2026-25537 not yet assigned priority: Debian including 1 source packages (rust-jsonwebtoken), 4 status rows across 4 suites (bookworm, forky, sid, trixie): open 4. | https://security-tracker.debian.org/tracker/CVE-2026-25537 |
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2026-25537 |
ubuntu
|
medium | CVE-2026-25537 medium priority: Ubuntu including 1 source packages (rust-jsonwebtoken), 4 status rows across 4 suites (jammy, noble, questing, upstream): needs-triage 3, DNE 1. | https://ubuntu.com/security/CVE-2026-25537 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| keats | jsonwebtoken | < 10.3.0 | cpe:2.3:a:keats:jsonwebtoken:*:*:*:*:*:rust:*:* |