Allocation of Resources Without Limits or Throttling in authlib - #VU166315

 

Allocation of Resources Without Limits or Throttling in authlib - #VU166315

Published: November 16, 2026


Vulnerability identifier: #VU166315
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-770
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service through CPU exhaustion.

The vulnerability exists due to missing recipient-count limits in Authlib's JWE JSON deserialization when processing untrusted messages using RSA or EC private keys. A remote attacker can submit a JWE JSON message containing numerous recipients with random encrypted_key values and no matching kid headers to trigger repeated private-key operations and stall Python worker processes.


Affected software

authlib

Remediation

Install security update from vendor's website.

authlib - update to 1.9.7

External References

Related Security Bulletins