CSRF Vulnerability in Authlib Python Library Affecting OAuth and OpenID Integration
CVE-2026-41425
5.4MEDIUM
What is CVE-2026-41425?
The Authlib Python library, which facilitates the creation of OAuth and OpenID Connect servers, is susceptible to a Cross-Site Request Forgery (CSRF) vulnerability. This issue is particularly concerning as it affects the cache feature within the authlib.integrations.starlette_client.OAuth before version 1.6.11. Without adequate CSRF protection, attackers could exploit this flaw to carry out unauthorized actions. Users of Authlib are strongly advised to upgrade to version 1.6.11 or later to mitigate this vulnerability and ensure robust security for their applications.
Affected Version(s)
authlib < 1.6.11
