CVE-2026-48525: jpadilla pyjwt Uncontrolled Resource Consumption
Vulnerability summary
CVE-2026-48525 is a medium (CVSS 5.3) Uncontrolled Resource Consumption vulnerability in jpadilla pyjwt. EPSS estimates a 0.41% chance of exploitation in the next 30 days, higher than 34.4% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 9 · Related 10Timeline
- 28-05-2026PublishedVulnerability first disclosed.
- 23-06-2026Last modifiedVulnerability information updated.
Description
PyJWT is a JSON Web Token implementation in Python. From 2.8.0 to 2.12.1, when verifying detached JWS tokens using the unencoded-payload option ("b64": false, RFC 7797), PyJWT performs Base64URL decoding of the compact-serialization payload segment before enforcing the detached-payload rules. For b64=false, PyJWT later discards that decoded payload and replaces it with the caller-provided detached_payload. In practice, this turns the middle segment into an attacker-controlled “work amplifier”: a remote client can supply an arbitrarily large Base64URL payload segment that forces CPU work + memory allocations even if the signature is invalid. This creates an unauthenticated DoS vector against any endpoint that verifies detached JWS using PyJWT. This vulnerability is fixed in 2.13.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.41%
Chance of exploitation in the next 30 days
Percentile
34%
Versus all other CVEs
30-day change
+0.04 pp
From 0.37% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundPyjwt
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Chainguard65 products
- airflow-2< 2.11.2-r25
- airflow-core-2< 2.11.2-r10
- airflow-core-3< 3.2.2-r5
- airflow-postgres-fips-3< 3.2.2-r3
- awx< 24.6.1-r41
Wolfi17 products
- datadog-agent-7.72-core-integrationsAll versions (No fix recorded)
- datadog-agent-7.73-core-integrations< 7.73.3-r23
- datadog-agent-7.74-core-integrations< 7.74.1-r24
- datadog-agent-7.75-core-integrationsAll versions (No fix recorded)
- datadog-agent-7.76All versions (No fix recorded)
Debian1 product
- pyjwtAll versions (No fix recorded) | < 2.13.0-1
Jpadilla1 product
- pyjwt≥ 2.8.0, < 2.13.0
Pyjwt_project1 product
- pyjwt≥ 2.8.0, ≤ 2.12.1
PyPI1 product
- pyjwt≥ 2.8.0, < 2.13.0
Ubuntu1 product
- pyjwt< 2.7.0-1ubuntu0.2 | All versions (No fix recorded) | < 2.10.1-4ubuntu1.1
7 vendors · 87 products
References
9 links- github.com/jpadilla/pyjwt/security/advisories/GHSA-w7vc-732c-9m39X Refsource CONFIRMWEBEVIDENCEREPORTAdvisoryExploitMitigationVendor Advisory
- github.com/jpadilla/pyjwtPACKAGE