7.5

CVE-2026-25537: jsonwebtoken has Type Confusion that leads to potential authorization bypass

Analyzed
AliasesUBUNTU-CVE-2026-25537DEBIAN-CVE-2026-25537CGA-3qff-h4hj-w62p
Published 04-02-2026Last modified 05-02-2026

Vulnerability summary

CVE-2026-25537 is a high (CVSS 7.5) vulnerability in keats jsonwebtoken. EPSS estimates a 0.50% chance of exploitation in the next 30 days, higher than 44.1% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Routine

Not severe (CVSS 5.5, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (NVD)
EPSS score
0.50%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 0 · Related 1

Timeline

  1. 04-02-2026
    PublishedVulnerability first disclosed.
  2. 05-02-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

9 scores · 7 sources · 2 versions

EPSS trend

Probability

0.50%

Chance of exploitation in the next 30 days

Percentile

44%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.50% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Jsonwebtoken

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard13 products
  • codex< 0.148.0-r1 | < 0.149.0-r0
  • komodo-core< 2.0.0-r0
  • lakekeeper< 0.12.1-r0
  • lychee< 0.22.0-r4
  • py3.10-hf-xet< 1.2.0-r5
Wolfi11 products
  • codex< 0.148.0-r1 | < 0.149.0-r0
  • lychee< 0.22.0-r4
  • py3.10-hf-xet< 1.2.0-r5
  • py3.11-hf-xet< 1.2.0-r5
  • py3.12-hf-xet< 1.2.0-r5
Crates.Io1 product
  • jsonwebtoken< 10.3.0
Debian1 product
  • rust-jsonwebtokenAll versions (No fix recorded)
Keats1 product
Ubuntu1 product
  • rust-jsonwebtokenAll versions (No fix recorded)

6 vendors · 28 products

References

8 links