{"id":"CVE-2025-68158","published":"2026-01-08T17:58:17Z","modified":"2026-03-30T12:20:39Z","title":"Authlib: 1-click Account Takeover","vendor":"authlib","product":"authlib","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.7,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00272,"percentile":0.20031,"provenance":"source"},"cwes":[{"id":"CWE-352","name":"Cross-Site Request Forgery"}],"references":[{"url":"https://github.com/authlib/authlib/security/advisories/GHSA-fg6f-75jq-6523","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/authlib/authlib/commit/2808378611dd6fb2532b189a9087877d8f0c0489","tags":["x_refsource_MISC"]},{"url":"https://github.com/authlib/authlib/commit/7974f45e4d7492ab5f527577677f2770ce423228","tags":["x_refsource_MISC"]}],"priority":{"score":8.0,"factors":[{"name":"EPSS percentile","points":4.01},{"name":"CVSS severity","points":3.99}]},"vendorSlug":"authlib","affectedVersions":[{"vendor":"authlib","product":"authlib","versions":[">= 1.0.0, < 1.6.6"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-01-08T18:19:47.500891Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"authlib","vulnerableRanges":[">=1.0.0, <1.6.6"],"patched":["1.6.6"],"from":["GHSA-fg6f-75jq-6523","PYSEC-2026-1201"],"provenance":"source"}],"summary":{"text":"The Authlib Python library, used to build OAuth and OpenID Connect servers, contains a flaw in versions 1.0.0 through 1.6.5 where cache-backed state and request-token storage is not bound to the initiating user's session, enabling cross-site request forgery. An attacker who obtains a valid state value (easily done via an attacker-initiated authentication flow) can exploit this over the network with low complexity, low privileges, and a victim's user interaction, but only when a cache is supplied to the OAuth client registry.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:12:48Z"},"euvd":{"id":"EUVD-2025-206267","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-59420","published":"2025-09-22","fixed":"1.6.4","kev":false},{"cve":"CVE-2025-61920","published":"2025-10-10","fixed":"1.6.5","kev":false},{"cve":"CVE-2025-62706","published":"2025-10-22","fixed":"1.6.5","kev":false,"link":{"from":"CVE-2025-62706","to":"CVE-2025-68158","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:authlib","fromFixed":"1.6.5","toFixed":"1.6.6","daysApart":78}]}},{"cve":"CVE-2025-68158","published":"2026-01-08","fixed":"1.6.6","kev":false},{"cve":"CVE-2026-28802","published":"2026-03-06","fixed":"1.6.7","kev":false,"link":{"from":"CVE-2025-68158","to":"CVE-2026-28802","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:authlib","fromFixed":"1.6.6","toFixed":"1.6.7","daysApart":57}]}},{"cve":"CVE-2026-27962","published":"2026-03-16","fixed":"1.6.9","kev":false},{"cve":"CVE-2026-28490","published":"2026-03-16","fixed":"1.6.9","kev":false}],"package":"PyPI:authlib"}}