CVE-2025-68158CWE-352csrf

CVE-2025-68158

Medium · published January 8, 2026

CVSS v3.1
5.7
EPSS
0%
Percentile
18.6
In the wild
Unconfirmed
What it is

Authlib is a Python library which builds OAuth and OpenID Connect servers. In versions 1.0.0 through 1.6.5, cache-backed state/request-token storage is not tied to the initiating user session, so CSRF is possible for any attacker that has a valid state (easily obtainable via an attacker-initiated authentication flow). When a cache is supplied to the OAuth client registry, FrameworkIntegration.set_state_data writes the entire state blob under _state_{app}_{state}, and get_state_data ignores the caller’s session altogether. This issue has been patched in version 1.6.6.

The record
Technical detail
CVSS v3.1
5.7 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00272 · 18.6th percentile
Weakness
CWE-352 · Cross-Site Request Forgery (CSRF)
Published
2026-01-08T23:15Z
Affected products (1)
ProductVersionsFixed in
authlib/authlib< 1.6.61.6.6
References (4)
EPSS history
Timeline
  • 08 JAN 17:58Z
    Authlib: 1-click Account Takeover
    cvelistv5