Read the docs
TI-2026-20646 Aliases CVE-2026-25537GHSA-h395-gr6q-cpjc

jsonwebtoken has Type Confusion that leads to potential authorization bypass

Priority MEDIUM 64CWE-843Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
None · Low · None
Fix status
Partial Red Hat: 3 without a fix

Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00496 42nd percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Partial jsonwebtoken (Keats): 10.3.0jsonwebtoken (crates.io): 10.3.0Red Hat: 3 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
Keatsjsonwebtokenbefore 10.3.010.3.0Patch availableCNA
—jsonwebtoken (crates.io)before 10.3.010.3.0Patch availableGHSA-h395-gr6q-cpjc
  • jsonwebtoken VendorKeats Affected before 10.3.0 Fixed in 10.3.0 Patch available CNA
  • jsonwebtoken (crates.io) Vendor— Affected before 10.3.0 Fixed in 10.3.0 Patch available GHSA-h395-gr6q-cpjc

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:keats:jsonwebtoken:*:*:*:*:*:rust:*:*before 10.3.0VulnerableKeats
  • cpe:2.3:a:keats:jsonwebtoken:*:*:*:*:*:rust:*:* Versions before 10.3.0 Vulnerable ·Keats

Remediation

  • Fix · CNA jsonwebtoken (Keats) Fixed in 10.3.0
  • Fix · GHSA-h395-gr6q-cpjc jsonwebtoken (crates.io) Fixed in 10.3.0 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Confidential Compute AttestationAffectedNo fix planned: Out of support scope
Red Hat Ansible Automation Platform 2AffectedNo fix yet
Red Hat OpenShift AI (RHOAI)AffectedNo fix planned: Out of support scope

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-25537
  2. 2026-10-03 Alias added: GHSA-h395-gr6q-cpjc

References

Sources