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

- Priority: **Routine**
- Reason: Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-05-28 · Modified: 2026-06-23
- Aliases: GHSA-w7vc-732c-9m39, PYSEC-2026-178, UBUNTU-CVE-2026-48525, DEBIAN-CVE-2026-48525, CGA-4xw3-84wr-8q27, CGA-5rhw-x5w4-6ccm, CGA-63fp-f8xp-x883, CGA-6fwf-2m6j-wffj, CGA-7j6g-pj84-rg75, CGA-8v2c-qq57-j6h8, CGA-943p-36mj-prfm, CGA-95gv-m5pf-cw4v, CGA-9m85-fj48-prv8, CGA-c382-pp6c-mjhc, CGA-c77j-586m-79r9, CGA-cqhq-rw6h-c25w, CGA-fxmx-7r79-492p, CGA-gg6g-47h7-48x9, CGA-j233-wfwp-68pp, CGA-jg8x-46w2-xv6v, CGA-m288-46f9-29ff, CGA-m375-w3wf-532c, CGA-mr5c-rfr4-m778, CGA-pj6g-2545-54rq, CGA-pvf2-77c2-gmp8, CGA-qqx7-vh84-23mx, CGA-r488-3v29-vh85, CGA-rprh-28qg-qx4c, CGA-vhvg-j827-xjp6, CGA-vqvc-677j-52f6, CGA-w3fx-whc5-m5g4, CGA-w524-6rf3-54cg, CGA-wj2p-r9c4-f4pq, CGA-xm8v-rp4j-j2qp, CGA-xmq5-67m8-c35p, CGA-27v5-44pw-gmcc, CGA-28cp-2f52-qq27, CGA-2vp7-rw73-xcp5, CGA-2x2q-p6w5-hvrq, CGA-2x97-qxcm-58gc, CGA-33fv-mfq9-vpwg, CGA-33p7-55hm-59gp, CGA-35c9-3vvg-mc57, CGA-375q-jf2j-8827, CGA-3gqh-3823-x2f9, CGA-3grm-887f-53m7, CGA-3q6j-rmrx-3xhf, CGA-49h9-p9r2-2p5v, CGA-4m76-9r6f-ccq7, CGA-4x93-6j8j-hv58, CGA-564f-j76p-g9xx, CGA-5cf6-22rj-v3hx, CGA-5jph-864m-6236, CGA-5pxp-7pfm-4p7f, CGA-5v4v-93f2-f7hh, CGA-5vm5-82xx-j38m, CGA-6pp3-m4c7-46jv, CGA-6qfq-39p2-h4g5, CGA-6vm5-5fq7-c5m5, CGA-77g8-356g-pgvj, CGA-7hhg-4g4j-jxwx, CGA-7hpp-5v42-vhx2, CGA-7qjq-g8c8-r22m, CGA-7xgv-vfpp-cp8w, CGA-8377-c9q5-m868, CGA-89x7-jv4m-5x2r, CGA-8mv3-c229-2f43, CGA-8v87-p3fq-92c9, CGA-93g9-44qr-grh4, CGA-9gqp-8gp2-8pp6, CGA-9j9q-w32c-vp8m, CGA-9mpw-67px-x7m2, CGA-9q9m-v9r9-m56v, CGA-9r4w-8mr6-v694, CGA-9rf6-h5gx-9qpj, CGA-9v5p-h7c2-74rw, CGA-9xv6-mgc2-3272, CGA-c6m6-38j3-98v9, CGA-cc2w-65c6-crqc, CGA-chmc-2hw4-ph8x, CGA-crcx-34g7-jrrw, CGA-cxq6-86r3-3468, CGA-fqv5-2gq4-x927, CGA-g86v-g6rx-755g, CGA-g933-vpxc-cm9j, CGA-g9j7-62m8-jf2m, CGA-gcwh-7cg8-mp5h, CGA-ghwf-5w58-cj9q, CGA-gmjc-rhmj-rph8, CGA-gr7r-9xww-j5vh, CGA-gwx4-fcc5-44q4, CGA-gxr6-p76j-4qxj, CGA-h963-mp4m-9v8g, CGA-hf5w-m64r-9rr9, CGA-hgw8-4g8m-hw7v, CGA-hp6q-4v3f-68xr, CGA-hrj3-fx97-5w79, CGA-hv7r-w7hf-64wf, CGA-hwx9-c84m-f3c2, CGA-j2r8-6v5r-vw9m, CGA-j6m6-9vmg-34fv, CGA-jcjf-3f34-rhrf, CGA-jq4g-pjf9-r42p, CGA-jrxv-85wq-p3m5, CGA-jxfv-3q4q-363v, CGA-m746-4rxm-2449, CGA-m96f-wggx-gx2g, CGA-p3h5-hjfg-8fx7, CGA-p3m9-7x88-7qxh, CGA-pcgx-48c4-x3c7, CGA-pchg-ghm6-hfq8, CGA-pm63-r4v9-hm83, CGA-q9q3-ch6r-99fh, CGA-qc36-ghfp-vvp2, CGA-qm3q-2pvj-33mg, CGA-r38c-whm3-mmc7, CGA-r5gf-r4gm-rmw4, CGA-v2px-w5q3-8973, CGA-v6g5-85xc-pvg6, CGA-vm4v-3qj7-4mf5, CGA-vqpc-mcxr-mf6g, CGA-w53r-93wh-9765, CGA-w84w-hwm4-xcff, CGA-wg4m-vj6v-jc52, CGA-wgv7-x2x2-qhc3, CGA-whvr-jg86-xjjf, CGA-wm29-3xv4-gcfm, CGA-x4h3-fmq5-w85g, CGA-x7w8-c9mq-wjm3, CGA-xhx7-7v7x-5876, CGA-xjcw-vf63-v47w
- Record: https://cvemate.com/vulnerability/CVE-2026-48525 · JSON: https://cvemate.com/vulnerability/CVE-2026-48525/json

## Description

```text
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.
```

## Signals

- CVSS: 5.3 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- EPSS: 0.37%, percentile 32.987%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected (first 20 of 87)

- chainguard airflow-2 (Chainguard): \< 2.11.2-r25
- chainguard airflow-core-2 (Chainguard): \< 2.11.2-r10
- chainguard airflow-core-3 (Chainguard): \< 3.2.2-r5
- chainguard airflow-postgres-fips-3 (Chainguard): \< 3.2.2-r3
- chainguard awx (Chainguard): \< 24.6.1-r41
- chainguard datadog-agent-7.71-core-integrations (Chainguard): All versions (No fix recorded)
- chainguard datadog-agent-7.72-core-integrations (Chainguard): All versions (No fix recorded)
- chainguard datadog-agent-7.73-core-integrations (Chainguard): \< 7.73.3-r23
- chainguard datadog-agent-7.74-core-integrations (Chainguard): \< 7.74.1-r24
- chainguard datadog-agent-7.75-core-integrations (Chainguard): All versions (No fix recorded)
- chainguard datadog-agent-7.76 (Chainguard): All versions (No fix recorded) \| \< 7.76.3-r41
- chainguard datadog-agent-7.76-core-integrations (Chainguard): \< 7.76.3-r26
- chainguard datadog-agent-7.77-core-integrations (Chainguard): \< 7.77.3-r16
- chainguard datadog-agent-7.78-core-integrations (Chainguard): \< 7.78.4-r10
- chainguard datadog-agent-7.79-core-integrations (Chainguard): \< 7.79.2-r6
- chainguard datadog-agent-7.80-core-integrations (Chainguard): \< 7.80.4-r3
- chainguard datadog-agent-fips-7.71-core-integrations (Chainguard): All versions (No fix recorded)
- chainguard datadog-agent-fips-7.72-core-integrations (Chainguard): All versions (No fix recorded)
- chainguard datadog-agent-fips-7.73-core-integrations (Chainguard): \< 7.73.3-r21
- chainguard datadog-agent-fips-7.74-core-integrations (Chainguard): \< 7.74.1-r26

## References

- <https://github.com/jpadilla/pyjwt/security/advisories/GHSA-w7vc-732c-9m39>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-48525>
- <https://github.com/jpadilla/pyjwt>
- <https://github.com/pypa/advisory-database/tree/main/vulns/pyjwt/PYSEC-2026-178.yaml>
- <https://ubuntu.com/security/CVE-2026-48525>
- <https://www.cve.org/CVERecord?id=CVE-2026-48525>
- <https://ubuntu.com/security/notices/USN-8823-1>
- <https://security-tracker.debian.org/tracker/CVE-2026-48525>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/48xxx/CVE-2026-48525.json>

---

Data as of 2026-12-05T07:16:30.265Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
