Cross-Site Request Forgery Vulnerability in Authlib Python Library
CVE-2025-68158
What is CVE-2025-68158?
The Authlib library, which facilitates the development of OAuth and OpenID Connect servers, has a vulnerability that permits Cross-Site Request Forgery (CSRF) attacks in versions 1.6.5 and earlier. This occurs because the library's cache-backed state/request-token storage does not associate state management with the user session that initiated the request. As a result, attackers who can obtain a valid state—potentially through repeating an authentication flow—can execute unauthorized actions. This issue has been resolved in version 1.6.6, where proper session ties have been implemented.

Human OS v1.0:
Ageing Is an Unpatched Zero-Day Vulnerability.
Remediate biological technical debt. Prime Ageing uses 95% high-purity SIRT6 activation to maintain genomic integrity and bolster systemic resilience.
Affected Version(s)
authlib < 1.6.6
References
CVSS V3.1
Timeline
Vulnerability published
Vulnerability Reserved
