CVE-2026-102265: PyJWT: Uncaught RecursionError in jwt.decode() on deeply nested token header
Vulnerability summary
CVE-2026-102265 is a medium (CVSS 5.3) Uncontrolled Recursion vulnerability in jpadilla pyjwt. EPSS estimates a 0.34% chance of exploitation in the next 30 days, higher than 29.7% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 1 · Related 1Timeline
- 28-09-2026PublishedVulnerability first disclosed.
- 01-10-2026Last modifiedVulnerability information updated.
Description
PyJWT is a Python implementation of JSON Web Token standards. From 2.13.0 until 2.14.0, PyJWS._load in jwt/api_jws.py is affected because parser catches ValueError but not RecursionError. This occurs when a deeply nested token header reaches json.loads. As a result, RecursionError escapes the documented PyJWT error hierarchy. Consequently, an unauthenticated malformed token can cause a request-level failure and HTTP 500. This issue is fixed in version 2.14.0.
CVSS metrics
7 scores · 7 sources · 1 version- OSV · PypiEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · UbuntuEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · DebianEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · WolfiEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · ChainguardEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- NVDNIST5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS trend
Probability
0.34%
Chance of exploitation in the next 30 days
Percentile
30%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.34% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundPyjwt
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard76 products
- authentik-2026.5< 2026.5.7-r4
- authentik-fips-2026.5< 2026.5.7-r7
- azureml-inference-server-httpAll versions (No fix recorded) | < 1.5.1-r10
- azureml-inference-server-http-fips< 1.5.1-r9
- datadog-agent-7.77-core-integrations< 7.77.3-r26
Wolfi11 products
- datadog-agent-7.77-core-integrations< 7.77.3-r26
- datadog-agent-7.78-core-integrationsAll versions (No fix recorded)
- datadog-agent-7.79-core-integrations< 7.79.2-r20
- datadog-agent-7.80-core-integrations< 7.80.4-r19
- datadog-agent-7.81-core-integrations< 7.81.3-r8
Debian1 product
- pyjwtAll versions (No fix recorded) | < 2.14.0-1
Jpadilla1 product
- pyjwt≥ 2.13.0, < 2.14.0
Pyjwt_project1 product
- pyjwt2.13.0
PyPI1 product
- pyjwt≥ 2.13.0, < 2.14.0
Ubuntu1 product
- pyjwtAll versions (No fix recorded) | < 2.3.0-1ubuntu0.8 | < 2.7.0-1ubuntu0.6 | < 2.10.1-4ubuntu1.5
7 vendors · 92 products
References
12 links- github.com/jpadilla/pyjwt/security/advisories/GHSA-8wjv-2p76-3863X Refsource CONFIRMWEBREPORTAdvisoryExploitMitigationVendor Advisory
- github.com/jpadilla/pyjwt/commit/06573692ebcdec8831c3927513b3e87c31fbbb62X Refsource MISCWEBREPORTFIXPatch
- github.com/jpadilla/pyjwtPACKAGE
- pypi.org/project/pyjwtPACKAGE