# CVE-2025-59420: Authlib: JWS/JWT accepts unknown crit headers (RFC violation → possible authz bypass)

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability: affected before 1.6.4 (CNA); fix release not confirmed
- Status: published
- Published: 2025-09-22 · Modified: 2025-11-03
- Aliases: GHSA-9ggr-2464-2j32, PYSEC-2026-1200, UBUNTU-CVE-2025-59420, DEBIAN-CVE-2025-59420, CGA-2v9m-w64p-fm2j, CGA-4xhq-8436-5jg8, CGA-hx52-mf4r-ghwr, CGA-j7qg-q9p4-7gmh, CGA-m7r6-6w7r-93q3, CGA-rwjj-7chg-8xqp, CGA-wgrh-5h2v-3c48, CGA-xgfp-m2gx-gq7p, CGA-3x8r-7w6x-v4gc, CGA-f87p-rm64-xprx, CGA-hq43-j8fh-xv69, CGA-p7j6-8793-wqvx
- Record: https://cvemate.com/vulnerability/CVE-2025-59420 · JSON: https://cvemate.com/vulnerability/CVE-2025-59420/json

## Description

```text
Authlib is a Python library which builds OAuth and OpenID Connect servers. Prior to version 1.6.4, Authlib’s JWS verification accepts tokens that declare unknown critical header parameters (crit), violating RFC 7515 “must‑understand” semantics. An attacker can craft a signed token with a critical header (for example, bork or cnf) that strict verifiers reject but Authlib accepts. In mixed‑language fleets, this enables split‑brain verification and can lead to policy bypass, replay, or privilege escalation. This issue has been patched in version 1.6.4.
```

## Signals

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

## Affected

- chainguard mlflow (Chainguard): \< 3.4.0-r1
- chainguard mlflow-iamguarded-compat (Chainguard): \< 3.4.0-r1
- chainguard open-webui (Chainguard): \< 0.6.30-r1
- chainguard open-webui-compat (Chainguard): \< 0.6.30-r1
- chainguard pgadmin4 (Chainguard): \< 9.8-r1
- chainguard pgadmin4-oci-entrypoint (Chainguard): \< 9.8-r1
- wolfi mlflow (Wolfi): \< 3.4.0-r1
- wolfi mlflow-iamguarded-compat (Wolfi): \< 3.4.0-r1
- wolfi open-webui (Wolfi): \< 0.6.30-r1
- wolfi open-webui-compat (Wolfi): \< 0.6.30-r1
- authlib authlib: \< 1.6.4
- debian python-authlib (Debian): \< 1.2.0-1+deb12u1 \| \< 1.6.0-1+deb13u1 \| \< 1.6.4-1
- ubuntu python-authlib (Ubuntu): All versions (No fix recorded) \| \< 0.15.5-1ubuntu0.1~esm1 \| \< 1.3.0-1ubuntu0.1~esm1
- PyPI authlib (PyPI): \< 1.6.4

## References

- <https://github.com/authlib/authlib/security/advisories/GHSA-9ggr-2464-2j32>
- <https://github.com/authlib/authlib/commit/6b1813e4392eb7c168c276099ff7783b176479df>
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00032.html>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-59420>
- <https://github.com/authlib/authlib>
- <https://pypi.org/project/authlib>
- <https://github.com/advisories/GHSA-9ggr-2464-2j32>
- <https://ubuntu.com/security/CVE-2025-59420>
- <https://www.cve.org/CVERecord?id=CVE-2025-59420>
- <https://ubuntu.com/security/notices/USN-8065-1>
- <https://security-tracker.debian.org/tracker/CVE-2025-59420>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/59xxx/CVE-2025-59420.json>

---

Data as of 2026-12-05T14:23:08.574Z. 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
