Skip to content

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

HighCVSS 8.8 EPSS 0.27%
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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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
ProductAffected versionsFixed 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