CVE-2025-68158 Authlib: 1-click Account Takeover
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- UbuntuDebianRed Hat
Description
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.
Upgrade path
11 packages: 6 fixed, 5 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat/ansible-automation-platform-25/lightspeed-chatbot-rhel8(Red Hat ansible_automation_platform 2) | All versions | No fix listed | No fix yet |
| redhat/quay/quay-rhel8:1775169219(Red Hat quay 3.15 el8) | All versions | No fix listed | No fix yet |
| redhat/quay/quay-rhel9:1775069491(Red Hat quay 3.16 el9) | All versions | No fix listed | No fix yet |
| redhat/quay/quay-rhel9:1775169226(Red Hat quay 3.16 el9) | All versions | No fix listed | No fix yet |
| redhat/satellite/foreman-mcp-server-rhel9:1782228427(Red Hat satellite 6.18 el9) | All versions | No fix listed | No fix yet |
| Authlib | < 1.6.6; = >= 1.0.0, < 1.6.6 | 1.6.6 | Fixed |
| debian/python-authlib(Debian 12) | < 1.2.0-1+deb12u1; = 1.2.0-1 | 1.2.0-1+deb12u1 | Fixed |
| debian/python-authlib(Debian 13) | < 1.6.0-1+deb13u1; = 1.6.0-1 | 1.6.0-1+deb13u1 | Fixed |
| debian/python-authlib(Debian 14) | < 1.6.6-1; = 1.6.0-1; = 1.6.1-1; = 1.6.3-1 +2 more | 1.6.6-1 | Fixed |
| pypi authlib(PyPI) | = 1.0.0; = 1.0.1; = 1.1.0; = 1.2.0 +17 more | 1.6.6 | Fixed |
| ubuntu/python-authlib(Ubuntu 24.04) | < 1.3.0-1ubuntu0.1~esm1 | 1.3.0-1ubuntu0.1~esm1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi authlib(PyPI) | >= 1.0.0, < 1.6.6 | 1.6.6 |
| pypi authlib(PyPI) | = 1.0.0 | No fix listed |
| pypi authlib(PyPI) | = 1.0.1 | No fix listed |
| pypi authlib(PyPI) | = 1.1.0 | No fix listed |
| pypi authlib(PyPI) | = 1.2.0 | No fix listed |
| pypi authlib(PyPI) | = 1.2.1 | No fix listed |
| pypi authlib(PyPI) | = 1.3.0 | No fix listed |
| pypi authlib(PyPI) | = 1.3.1 | No fix listed |
| pypi authlib(PyPI) | = 1.3.2 | No fix listed |
| pypi authlib(PyPI) | = 1.4.0 | No fix listed |
| pypi authlib(PyPI) | = 1.4.1 | No fix listed |
| pypi authlib(PyPI) | = 1.5.0 | No fix listed |
| pypi authlib(PyPI) | = 1.5.1 | No fix listed |
| pypi authlib(PyPI) | = 1.5.2 | No fix listed |
| pypi authlib(PyPI) | = 1.6.0 | No fix listed |
| pypi authlib(PyPI) | = 1.6.1 | No fix listed |
| pypi authlib(PyPI) | = 1.6.2 | No fix listed |
| pypi authlib(PyPI) | = 1.6.3 | No fix listed |
| pypi authlib(PyPI) | = 1.6.4 | No fix listed |
| pypi authlib(PyPI) | = 1.6.5 | No fix listed |
| debian/python-authlib(Debian:12) | < 1.2.0-1+deb12u1 | 1.2.0-1+deb12u1 |
| debian/python-authlib(Debian:12) | = 1.2.0-1 | No fix listed |
| debian/python-authlib(Debian:13) | < 1.6.0-1+deb13u1 | 1.6.0-1+deb13u1 |
| debian/python-authlib(Debian:13) | = 1.6.0-1 | No fix listed |
| debian/python-authlib(Debian:14) | < 1.6.6-1 | 1.6.6-1 |
Show 14 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/python-authlib(Debian:14) | = 1.6.0-1 | No fix listed |
| debian/python-authlib(Debian:14) | = 1.6.1-1 | No fix listed |
| debian/python-authlib(Debian:14) | = 1.6.3-1 | No fix listed |
| debian/python-authlib(Debian:14) | = 1.6.4-1 | No fix listed |
| debian/python-authlib(Debian:14) | = 1.6.5-1 | No fix listed |
| pypi authlib(PyPI) | >= 1.0.0, <= 1.6.5 | No fix listed |
| Authlib | = >= 1.0.0, < 1.6.6 | No fix listed |
| redhat/quay/quay-rhel8:1775169219(Red Hat:quay:3.15::el8) | All versions | No fix listed |
| redhat/quay/quay-rhel9:1775069491(Red Hat:quay:3.16::el9) | All versions | No fix listed |
| redhat/quay/quay-rhel9:1775169226(Red Hat:quay:3.16::el9) | All versions | No fix listed |
| redhat/satellite/foreman-mcp-server-rhel9:1782228427(Red Hat:satellite:6.18::el9) | All versions | No fix listed |
| redhat/ansible-automation-platform-25/lightspeed-chatbot-rhel8(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| ubuntu/python-authlib(Ubuntu:24.04) | < 1.3.0-1ubuntu0.1~esm1 | 1.3.0-1ubuntu0.1~esm1 |
| Authlib | < 1.6.6 | 1.6.6 |
References
- https://github.com/authlib/authlib/security/advisories/GHSA-fg6f-75jq-6523 exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/authlib/authlib/commit/2808378611dd6fb2532b189a9087877d8f0c0489 patch
- https://github.com/authlib/authlib/commit/7974f45e4d7492ab5f527577677f2770ce423228 patch
- github.com product
- pypi.org product
- github.com vendor-advisory
- Debian Security Tracker CVE-2025-68158 vendor-advisory
- Red Hat CVE page mitigation vendor-advisory
- RHSA-2026:6568 patch vendor-advisory
- RHSA-2026:6497 patch vendor-advisory
- RHSA-2026:6567 patch vendor-advisory
- RHSA-2026:28405 patch vendor-advisory
- Red Hat Bugzilla 2428102 issue-tracking
- www.cve.org
- Ubuntu CVE tracker vendor-advisory
- USN-8065-1 vendor-advisory