Skip to main content
VulnerabilityPublished Updated

CVE-2025-61920: Python authlib · Prior to version 1.6.5, Authlib’s JOSE implementation accepts unbounded JWS/JWT

Affects python-authlibSource GCVE Database

0
Compare

Not known to be exploited · CVSS 7.5 High · fixed in 0.15.5-1ubuntu0.1~esm1 : patch python-authlib soon.

Data as of 24 Nov 2026, 20:10 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 0.15.5-1ubuntu0.1~esm1, 1.3.0-1ubuntu0.1~esm1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 10 Oct 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.

What to do

Upgrade the Ubuntu python-authlib to 0.15.5-1ubuntu0.1~esm1 (package) or 1.3.0-1ubuntu0.1~esm1 (package).

Affected software

ProductAffectedFixed in
Ubuntu Pro 26.04 LTSpython-authlibpkg:deb/ubuntu/python-authlib?arch=source&distro=esm-apps/resoluteOther threatsAffected
  • 1.6.0-1 – 1.6.7-1ubuntu0.1~esm1
5 affected builds
Fixed in–
Ubuntu 25.10python-authlibpkg:deb/ubuntu/python-authlib?arch=source&distro=questingOther threatsAffected
  • =1.5.1-1
  • =1.5.2-1
  • =1.6.0-1
Fixed in–
Ubuntu Pro 24.04 LTSpython-authlibpkg:deb/ubuntu/python-authlib?arch=source&distro=esm-apps/nobleOther threatsAffected
  • <1.3.0-1ubuntu0.1~esm1
Fixed in
  • 1.3.0-1ubuntu0.1~esm1
Ubuntu Pro 22.04 LTSpython-authlibpkg:deb/ubuntu/python-authlib?arch=source&distro=esm-apps/jammyOther threatsAffected
  • <0.15.5-1ubuntu0.1~esm1
Fixed in
  • 0.15.5-1ubuntu0.1~esm1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

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.

References

Community reviews

Loading reviews…