8.8

CVE-2025-68158: authlib Cross-Site Request Forgery (CSRF)

CVSS: 8.8v3.1HighModified
AliasesSUSE-SU-2026:0828-1GHSA-fg6f-75jq-6523PYSEC-2026-1201
Published 08-01-2026Last modified 30-03-2026

Vulnerability summary

CVE-2025-68158 is a high (CVSS 8.8) Cross-Site Request Forgery (CSRF) vulnerability in authlib. EPSS estimates a 0.27% chance of exploitation in the next 30 days, higher than 18.4% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
45/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.8/10
010
High · v3.1 (NVD)
EPSS score
0.27%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 1 · Related 1

Timeline

  1. 08-01-2026
    PublishedVulnerability first disclosed.
  2. 30-03-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.27%

Chance of exploitation in the next 30 days

Percentile

18%

Versus all other CVEs

30-day change

0.00 pp

From 0.28% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.27%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Authlib

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Opensuse3 products
  • python-Authlib&distro=openSUSE Leap 15.6< 1.3.1-150600.3.14.1
  • python-Authlib&distro=openSUSE Leap 16.0< 1.5.2-bp160.2.1
  • python-Authlib&distro=openSUSE Tumbleweed< 1.6.6-1.1
Authlib1 product
  • authlib≥ 1.0.0, < 1.6.6 | < 1.6.6
Debian1 product
  • python-authlib< 1.2.0-1+deb12u1 | < 1.6.0-1+deb13u1 | < 1.6.6-1
PyPI1 product
  • authlib≥ 1.0.0, < 1.6.6
Suse1 product
  • python-Authlib&distro=SUSE Linux Enterprise Module for Python 3 15 SP7< 1.3.1-150600.3.14.1
Ubuntu1 product
  • python-authlib< 1.3.0-1ubuntu0.1~esm1 | All versions (No fix recorded)

6 vendors · 8 products

References

14 links
Show all 14 references