Live threats

All CVEs / Authlib

CVE-2025-61920Authlib

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
—
Auth required
No
Published
Oct 10, 2025
Updated
Oct 19, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20, CWE-400, CWE-770
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

Authlib is a Python library which builds OAuth and OpenID Connect servers. Prior to version 1.6.5, Authlib’s JOSE implementation accepts unbounded JWS/JWT header and signature segments. A remote attacker can craft a token whose base64url‑encoded header or signature spans hundreds of megabytes. During verification, Authlib decodes and parses the full input before it is rejected, driving CPU and memory consumption to hostile levels and enabling denial of service. Version 1.6.5 patches the issue. Some temporary workarounds are available. Enforce input size limits before handing tokens to Authlib and/or use application-level throttling to reduce amplification risk.

Original NVD text.

What to do

  1. Apply the vendor's security update for Authlib.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI authlib < 1.6.5 1.6.5 pip install "authlib>=1.6.5"
PyPI authlib < 1.6.5 1.6.5 pip install "authlib>=1.6.5"

Per OSV / GitHub Advisories (GHSA-pq5p-34cr-23v9, PYSEC-2026-1203). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
authlibauthlib< 1.6.5

Official sources

References

Links published by the sources. Open them with care.