Skip to main content
Public proof of conceptFix available

CVE-2026-25537

A public proof of concept exists; no exploitation attested.

  • Published2026-02-04
  • Fixed in10.3.0
  • WeaknessCWE-843

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2026-02-0422:15CVE publishedNVD

Versions per branch

NVD · OSV
Keats jsonwebtoken
BranchAffectedFixed in
10.3< 10.3.010.3.0

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • Keats jsonwebtoken
    Affected
    • = < 10.3.0no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-02-04

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • apollo-router-2.10MinimOSall versions · no fixed version listed
  • codexWolfiall versions · fixed in 0.149.0-r0
  • codexWolfiall versions · fixed in 0.148.0-r1
  • codexChainguardall versions · fixed in 0.149.0-r0
  • codexChainguardall versions · fixed in 0.148.0-r1
  • komodo-coreChainguardall versions · fixed in 2.0.0-r0
  • lakekeeperChainguardall versions · fixed in 0.12.1-r0
  • lycheeWolfiall versions · fixed in 0.22.0-r4

22 more package ranges on OSV.dev

Vendor advisories

  • CVE-2026-25537 Red Hat Product Security4 known affected

    jsonwebtoken: jsonwebtoken has Type Confusion that leads to potential authorization bypass

    build-of-trustee/trustee-rhel9 as a component of Confidential Compute Attestation · confidential-compute-attestation-tech-preview/trustee-rhel9 as a component of Confidential Compute Attestation · ansible-automation-platform-26/lightspeed-chatbot-rhel9 as a component of Red Hat Ansible Automation Platform 2 · +1 more

Full record on NVD

Fix

  1. Update Keats jsonwebtoken to 10.3.0
  2. Workaround from the vendor Red Hat Product Security CVE-2026-25537 · 4 productsMitigation 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.
  3. No fix available, says the vendor Red Hat Product Security CVE-2026-25537 · 1 productAffected
  4. No fix planned, says the vendor Red Hat Product Security CVE-2026-25537 · 3 productsOut of support scope

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • CISA-ADPSSVC decisionpoc2026-02-05
  • CNACVSS 4.05.5known since 2026-10-23
  • NVDCVSS 3.17.5read 2026-10-23
  • CNAweakness (CWE)CWE-843known since 2026-10-23
  • FIRST EPSSEPSS score0.5 %2026-11-08
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryMODERATE2026-02-03

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS 4.0 vector
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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Published
2026-02-04
Last Modified
2026-06-17
NVD status
Analyzed
GitHub Advisory
GHSA-h395-gr6q-cpjc

Frequently asked questions

What is CVE-2026-25537?

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.

Is CVE-2026-25537 actively exploited?

A proof-of-concept exploit exists for CVE-2026-25537, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2026-25537?

CVE-2026-25537 has a CVSS v3 base score of 7.5 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N.

Running jsonwebtoken? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record