Improper Verification of Cryptographic Signature in authlib - #VU166314

 

Improper Verification of Cryptographic Signature in authlib - #VU166314

Published: November 16, 2026


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

Vulnerability details

The vulnerability allows a remote attacker to impersonate OAuth clients and read or modify protected resources of users who approve authorization.

The vulnerability exists due to improper cryptographic signature verification in Authlib's OAuth 1.0 provider when accepting request-selected signature methods with empty client secrets, including for RSA-only clients. A remote attacker can use a public client_id with HMAC-SHA1 signatures keyed by "&" or PLAINTEXT signatures of "&", obtain user approval through an attacker-controlled callback, and append issued token secrets to "&" for subsequent requests to access protected resources.


Affected software

authlib

Remediation

Install security update from vendor's website.

authlib - update to 1.9.8

External References

Related Security Bulletins