CVE-2025-68158

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-68158
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-68158.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-68158
Aliases
Downstream
Published
2026-01-08T17:58:17.724Z
Modified
2026-01-15T05:52:33.165832Z
Severity
  • 5.7 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N CVSS Calculator
Summary
Authlib: 1-click Account Takeover
Details

Authlib is a Python library which builds OAuth and OpenID Connect servers. In version 1.6.5 and prior, 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.setstatedata writes the entire state blob under state{app}{state}, and getstate_data ignores the caller’s session altogether. This issue has been patched in version 1.6.6.

Database specific
{
    "cwe_ids": [
        "CWE-352"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68158.json",
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git / github.com/authlib/authlib

Affected ranges

Type
GIT
Repo
https://github.com/authlib/authlib
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v0.*

v0.1
v0.10
v0.11
v0.12
v0.13
v0.14
v0.14.1
v0.14.2
v0.14.3
v0.15
v0.15.1
v0.2
v0.2.1
v0.3
v0.4
v0.4.1
v0.5
v0.5.1
v0.6
v0.7
v0.8
v0.9

v1.*

v1.0.0
v1.0.1
v1.1.0
v1.2.0
v1.2.1
v1.3.0
v1.3.1
v1.3.2
v1.4.0
v1.4.1
v1.5.0
v1.5.1
v1.5.2
v1.6.0
v1.6.1
v1.6.2
v1.6.3
v1.6.4
v1.6.5

Database specific

source

"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-68158.json"