5.3

CVE-2026-48525: PyJWT: Unauthenticated DoS via unbounded Base64URL decoding of unused payload segment in b64=false detached JWS

Analyzed
AliasesGHSA-w7vc-732c-9m39PYSEC-2026-178UBUNTU-CVE-2026-48525
Published 28-05-2026Last modified 23-06-2026

Vulnerability summary

CVE-2026-48525 is a medium (CVSS 5.3) Uncontrolled Resource Consumption vulnerability in jpadilla pyjwt. EPSS estimates a 0.37% chance of exploitation in the next 30 days, higher than 32.9% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Routine

Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.3/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.37%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 9 · Related 10

Timeline

  1. 28-05-2026
    PublishedVulnerability first disclosed.
  2. 23-06-2026
    Last 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

EPSS trend

Probability

0.37%

Chance of exploitation in the next 30 days

Percentile

33%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.37% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Pyjwt

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

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_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