CVE-2025-68158

unknown
Published 2026-01-08 · Modified 2026-03-30
CVSS v3
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N
CVSS v2
VIR risk

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.

Predictions

Exploit likelihood
30%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2025-68158

vendor Authored 2026-05-27

Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2025-68158.html

OS impact

OSVersionStatusFixed in
suse slesaffected
debian debianbookwormfixed1.2.0-1+deb12u1
debian debianbullseyeaffected
debian debianforkyfixed1.6.6-1
debian debiansidfixed1.6.6-1
debian debiantrixiefixed1.6.0-1+deb13u1

Package impact

EcosystemPackageVulnerableFixed
python PyPIauthlib>=1.0.0,<1.6.61.6.6

References

Verify integrity in audit chain (admin only). AS-IS.