
CVE catalog
CVE-2025-68158
Authlib vulnerabilities
- Severity
- Medium · CVSS 5.7
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.27% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | python-authlib | sid | 1.7.2-2 | fixed |
| Debian | python-authlib | forky | 1.7.2-2 | fixed |
| Debian | python-authlib | trixie | 1.6.0-1+deb13u1 | fixed |
| Debian | python-authlib | bookworm | 1.2.0-1+deb12u1 | fixed |
| Debian | python-authlib | bookworm-security | 1.2.0-1+deb12u2 | fixed |
| Ubuntu | python-authlib | noble | Not reported | vulnerable |
| Ubuntu | python-authlib | noble | 1.3.0-1ubuntu0.1~esm1 | fixed |
| Ubuntu | python-authlib-doc | noble | 1.3.0-1ubuntu0.1~esm1 | fixed |
| Ubuntu | python3-authlib | noble | 1.3.0-1ubuntu0.1~esm1 | fixed |
| Cpe | authlib | Not reported | 1.6.6 | fixed |
| Ubuntu | python-authlib | pro | 1.2.1-1 | vulnerable |
| Ubuntu | python-authlib | pro | 1.3.0-1 | vulnerable |
| Ubuntu | python-authlib | pro | 1.3.0-1ubuntu0.1~esm1 | fixed |
| Ubuntu | python-authlib | 25.10 | 1.5.1-1 | vulnerable |
| Ubuntu | python-authlib | 25.10 | 1.5.2-1 | vulnerable |
| Ubuntu | python-authlib | 25.10 | 1.6.0-1 | vulnerable |
| Opensuse | python-Authlib | leap 16.0 | 1.5.2-bp160.2.1 | fixed |
| Opensuse | python-Authlib | tumbleweed | 1.6.6-1.1 | fixed |
| Suse | python-Authlib | linux enterprise module for python 3 15 sp7 | 1.3.1-150600.3.14.1 | fixed |
| Opensuse | python-Authlib | leap 15.6 | 1.3.1-150600.3.14.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | python-authlib | source | sid | 1.6.6-1 | not yet assigned | Not reported | Not reported |
| Debian | python-authlib | source | forky | 1.6.6-1 | not yet assigned | Not reported | Not reported |
| Debian | python-authlib | source | trixie | 1.6.0-1+deb13u1 | not yet assigned | Not reported | Not reported |
| Debian | python-authlib | source | bookworm | 1.2.0-1+deb12u1 | not yet assigned | Not reported | Not reported |
| Ubuntu | python-authlib | deb | noble | 1.3.0-1ubuntu0.1~esm1 | Not reported | Not reported | Not reported |
| Ubuntu | python-authlib-doc | deb | noble | 1.3.0-1ubuntu0.1~esm1 | Not reported | Not reported | Not reported |
| Ubuntu | python3-authlib | deb | noble | 1.3.0-1ubuntu0.1~esm1 | Not reported | Not reported | Not reported |
| Cpe | authlib | cpe | Not reported | 1.6.6 | Not reported | NVD-CVE-2025-68158 | Not reported |
| Ubuntu | python-authlib | deb | pro | 1.3.0-1ubuntu0.1~esm1 | Not reported | UBUNTU-CVE-2025-68158 | Not reported |
| Opensuse | python-Authlib | rpm | leap 16.0 | 1.5.2-bp160.2.1 | Not reported | OPENSUSE-SU-2026:20257-1 | Not reported |
| Opensuse | python-Authlib | rpm | tumbleweed | 1.6.6-1.1 | Not reported | OPENSUSE-SU-2026:10034-1 | Not reported |
| Suse | python-Authlib | rpm | linux enterprise module for python 3 15 sp7 | 1.3.1-150600.3.14.1 | Not reported | SUSE-SU-2026:0828-1 | Not reported |
| Opensuse | python-Authlib | rpm | leap 15.6 | 1.3.1-150600.3.14.1 | Not reported | SUSE-SU-2026:0828-1 | Not reported |
OpenFactory catalog packages
[openSUSE Tumbleweed]
- [python313-Authlib]Unknown
Source package: [python-Authlib]
Details (1)
1.7.2-3.1· noarch · tumbleweedUnknown · Fixed:
1.6.6-1.1Version impact unknown
usn · python-Authlib · opensuse · tumbleweed
- [python314-Authlib]Unknown
Source package: [python-Authlib]
Details (1)
1.7.2-3.1· noarch · tumbleweedUnknown · Fixed:
1.6.6-1.1Version impact unknown
usn · python-Authlib · opensuse · tumbleweed
[Debian 12 (Bookworm)]
- [python3-authlib]Fixed
Source package: [python-authlib]
Details (4)
1.2.0-1+deb12u1· all · bookwormFixed · Fixed:
1.2.0-1+deb12u1usn · python-authlib · debian · bookworm
1.2.0-1+deb12u1· all · bookwormFixed · Fixed:
1.2.0-1+deb12u1usn · python-authlib · debian · bookworm
1.2.0-1+deb12u2· all · bookworm-securityFixed · Fixed:
1.2.0-1+deb12u1usn · python-authlib · debian · bookworm
1.2.0-1+deb12u2· all · bookworm-securityFixed · Fixed:
1.2.0-1+deb12u1usn · python-authlib · debian · bookworm
- [python-authlib-doc]Fixed
Source package: [python-authlib]
Details (4)
1.2.0-1+deb12u1· all · bookwormFixed · Fixed:
1.2.0-1+deb12u1usn · python-authlib · debian · bookworm
1.2.0-1+deb12u1· all · bookwormFixed · Fixed:
1.2.0-1+deb12u1usn · python-authlib · debian · bookworm
1.2.0-1+deb12u2· all · bookworm-securityFixed · Fixed:
1.2.0-1+deb12u1usn · python-authlib · debian · bookworm
1.2.0-1+deb12u2· all · bookworm-securityFixed · Fixed:
1.2.0-1+deb12u1usn · python-authlib · debian · bookworm
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_10034-1.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2025-68158]
- [https://osv.dev/vulnerability/SUSE-SU-2026:0828-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2025-68158]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:10034-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:20257-1]
- [https://security-tracker.debian.org/tracker/CVE-2025-68158]
- [https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-68158.json]
- [https://ubuntu.com/security/notices/USN-8065-1]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]