Incomplete List of Disallowed Inputs in authlib - CVE-2026-114615

 

Incomplete List of Disallowed Inputs in authlib - CVE-2026-114615

Published: October 14, 2026 / Updated: October 23, 2026


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

Vulnerability details

The vulnerability allows a remote attacker to bypass authentication and disclose sensitive information.

The vulnerability exists due to incomplete rejection of asymmetric public keys in authlib.jose's OctKey.import_key() when importing PEM public keys or certificates with leading bytes before the armour header. A remote attacker can forge HS256 tokens with arbitrary claims using the issuer's public verification key as an HMAC secret to bypass authentication and disclose sensitive information.

Exploitation requires a relying party that uses the documented module-level jwt object with its mixed symmetric and asymmetric algorithm list. The leading bytes in the stored verification key are a deployment property and are not attacker-controlled at request time.


Affected software

authlib

How to mitigate CVE-2026-114615

Install security update from vendor's website.

authlib - update to 1.9.0

External References

Related Security Bulletins