cve.bz

CVE-2026-25537 keats jsonwebtoken: Type Confusion

5.5 mediumExploit referenceEPSS 0.5%Fix available

Medium (5.5) in keats jsonwebtoken. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in jsonwebtoken 10.3.0.

On this page
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.

Severity

CVSS 4.0

5.5 medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS
0.5% (unchanged from 0.5% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 43rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2026-02-05. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-843 Access of Resource Using Incompatible Type (Type Confusion)
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-25537 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-25537?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-25537?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-25537 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
keats:jsonwebtokenbefore 10.3.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-h395-gr6q-cpjccrates.iojsonwebtoken<10.3.010.3.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14rust-jsonwebtokenno fix listedDEBIAN-CVE-2026-25537
Ubuntu24.04:LTS, 25.10, 26.04:LTS and 1 morerust-jsonwebtokenno fix listedUBUNTU-CVE-2026-25537

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

MODERATE impact: A type confusion flaw in the `jsonwebtoken` library allows attackers to bypass time-based security restrictions, such as "Not Before" checks, by providing malformed JSON types for standard claims. This can lead to authentication and authorization bypasses in applications utilizing the affected library, including Red Hat Ansible Automation Platform, Red Hat OpenShift AI, and Confidential Compute Attestation.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Confidential Compute Attestationbuild-of-trustee/trustee-rhel9Out of support scope
Confidential Compute Attestationconfidential-compute-attestation-tech-preview/trustee-rhel9Out of support scope
Red Hat Ansible Automation Platform 2ansible-automation-platform-26/lightspeed-chatbot-rhel9Affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-model-registry-job-async-upload-rhel9Out of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-25537.

References

Check your stackJSON