# CVE-2025-68158: Authlib: 1-click Account Takeover

- Priority: **Routine**
- Reason: Not severe (CVSS 5.7, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-01-08 · Modified: 2026-03-30
- Aliases: SUSE-SU-2026:0828-1, GHSA-fg6f-75jq-6523, PYSEC-2026-1201, UBUNTU-CVE-2025-68158, DEBIAN-CVE-2025-68158, openSUSE-SU-2026:10034-1, openSUSE-SU-2026:20257-1
- Record: https://cvemate.com/vulnerability/CVE-2025-68158 · JSON: https://cvemate.com/vulnerability/CVE-2025-68158/json

## 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.
```

## Signals

- CVSS: 8.8 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 0.27%, percentile 20.449%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- authlib authlib: ≥ 1.0.0, \< 1.6.6 \| \< 1.6.6
- debian python-authlib (Debian): \< 1.2.0-1+deb12u1 \| \< 1.6.0-1+deb13u1 \| \< 1.6.6-1
- ubuntu python-authlib (Ubuntu): \< 1.3.0-1ubuntu0.1~esm1 \| All versions (No fix recorded)
- PyPI authlib (PyPI): ≥ 1.0.0, \< 1.6.6
- opensuse python-Authlib&distro=openSUSE Leap 15.6 (openSUSE): \< 1.3.1-150600.3.14.1
- opensuse python-Authlib&distro=openSUSE Leap 16.0 (openSUSE): \< 1.5.2-bp160.2.1
- opensuse python-Authlib&distro=openSUSE Tumbleweed (openSUSE): \< 1.6.6-1.1
- suse python-Authlib&distro=SUSE Linux Enterprise Module for Python 3 15 SP7 (SUSE Linux Enterprise): \< 1.3.1-150600.3.14.1

## References

- <https://github.com/authlib/authlib/security/advisories/GHSA-fg6f-75jq-6523>
- <https://github.com/authlib/authlib/commit/2808378611dd6fb2532b189a9087877d8f0c0489>
- <https://github.com/authlib/authlib/commit/7974f45e4d7492ab5f527577677f2770ce423228>
- <https://www.suse.com/support/update/announcement/2026/suse-su-20260828-1/>
- <https://bugzilla.suse.com/1256414>
- <https://www.suse.com/security/cve/CVE-2025-68158>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-68158>
- <https://github.com/authlib/authlib>
- <https://pypi.org/project/authlib>
- <https://github.com/advisories/GHSA-fg6f-75jq-6523>
- <https://ubuntu.com/security/CVE-2025-68158>
- <https://www.cve.org/CVERecord?id=CVE-2025-68158>
- <https://ubuntu.com/security/notices/USN-8065-1>
- <https://security-tracker.debian.org/tracker/CVE-2025-68158>

---

Data as of 2026-12-05T14:01:48.491Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
