Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker crafts malicious link
-
DeliveryUser clicks link while using OAuth application
-
ExploitCSRF payload reaches Starlette cache
-
ExecutionOAuth state corrupted
-
PersistAttacker intercepts or hijacks OAuth flow
-
ImpactUser's session or tokens compromised
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V3 - Web Frontend Security Anti-CSRF tokens, SameSite cookies
MITRE ATT&CK
1 technique across 1 tactic: Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The vulnerability requires a user to click a malicious link or submit a form while authenticated to a web application using Authlib's Starlette OAuth client with the cache feature enabled. The Starlette OAuth integration must be configured and actively used for authentication. Default Starlette configurations without explicit CSRF middleware bypass are vulnerable. No special privilege escalation or authentication is required from the attacker, but the attack cannot succeed without user interaction (UI:R in CVSS vector). Exploitation is further limited to scenarios where the application does not implement additional CSRF protections (e.g., CSRF tokens, SameSite cookies). |
| Impact | CVSS 5.4 with network vector (AV:N), low complexity (AC:L), no authentication required (PR:N), but user interaction mandatory (UI:R) places this in moderate-risk territory. The CVSS score reflects partial impact (C:L/I:L/A:N) - confidentiality and integrity compromised but not availability. EPSS score not provided in input, preventing probabilistic exploitation assessment. No CISA KEV status or confirmed public exploit code provided; no active exploitation detected at submission. The user-interaction requirement (clicking a malicious link) significantly limits real-world attack surface compared to an automated exploitation scenario. However, in OAuth/OpenID flows, CSRF on state caches can escalate to full account compromise if tokens are leaked or sessions hijacked. Risk priority depends on deployment: low for internal/trusted-network OAuth flows; moderate to high for public-facing applications where users click external links. The fix is available (v1.6.11), reducing urgency but not eliminating risk for unpatched installations. |
| Exploit ScenarioDerived | An attacker crafts a malicious link or form submission targeting a web application using Authlib's Starlette OAuth client. When a logged-in user clicks the link, the attacker's CSRF payload manipulates the OAuth state cache, potentially binding the user's session to attacker-controlled OAuth credentials or redirecting the authorization flow to capture sensitive tokens. No public exploit code is referenced in available data. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 24, 2026
Cross-site request forgery (CSRF) in Authlib's Starlette OAuth client cache feature (versions prior to 1.6.11) allows unauthenticated remote attackers to forge requests that manipulate cached OAuth state, potentially leading to session hijacking or token theft. The vulnerability requires user interaction (UI:R) and affects confidentiality and integrity. Vendor-released patch: version 1.6.11.
RemediationAI
Upgrade Authlib to version 1.6.11 or later immediately. For Python environments using pip, execute: pip install --upgrade authlib>=1.6.11. Verify the installed version with pip show authlib. If immediate upgrade is not feasible, configure Starlette middleware to enforce SameSite=Strict cookies and implement explicit CSRF token validation on all OAuth callback handlers using Starlette's built-in CSRF middleware until patching is complete. This reduces but does not eliminate risk. Review GitHub Security Advisory GHSA-jj8c-mmj3-mmgv (https://github.com/authlib/authlib/security/advisories/GHSA-jj8c-mmj3-mmgv) for additional context and confirmation of fix.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Authlib is a Python library implementing OAuth 2.0 and OpenID Connect server/client functionality. The vulnerability resides in the authlib.integrations.starlette_client.OAuth module, specifically in cache handling mechanisms used during the OAuth authorization flow. The root cause is CWE-352 (Cross-Site Request Forgery), indicating missing or insufficient CSRF token validation on state-cache operations in the Starlette integration. This affects the confidentiality and integrity of OAuth session management in web applications using this integration.
Know when Authlib gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
3DescriptionCVE.org
Authlib is a Python library which builds OAuth and OpenID Connect servers. Prior to 1.6.11, there is no CSRF protection on the cache feature in authlib.integrations.starlette_client.OAuth. This vulnerability is fixed in 1.6.11.
Blast Radius
ecosystem impact- 3 pypi packages depend on authlib (3 direct, 0 indirect)
Ecosystem-wide dependent count for version 1.6.11.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.
Authlib is a Python library which builds OAuth and OpenID Connect servers. [CVSS 5.7 MEDIUM]
Authentication bypass in Authlib (Python OAuth/OpenID Connect library) versions 1.6.5 through 1.6.6 allows remote attack
Authlib is a Python library which builds OAuth and OpenID Connect servers. Rated high severity (CVSS 7.5), this vulnerab
Authlib's JOSE/JWS verification path (through 1.6.4, with 1.6.5 as the fix) decodes attacker-supplied JWT/JWS header and
lepture Authlib before 1.3.1 has algorithm confusion with asymmetric public keys. Rated high severity (CVSS 7.5), this v
Memory exhaustion in joserfc before 1.7.6 allows remote unauthenticated attackers to force a roughly token-sized extra a
Unbounded DEFLATE decompression in Authlib's JWE zip=DEF handling (authlib/jose/rfc7518/jwe_zips.py) lets a small, valid
Signature verification bypass in Authlib 1.7.2 and earlier allows unauthenticated remote attackers to have crafted JWS J
Poisoned OAuth/OIDC discovery metadata in Authlib 1.7.2 and earlier allows an attacker who controls or intercepts the me
Server-side request forgery in Authlib's RFC 9101 JWTAuthenticationRequest (JAR) extension lets unauthenticated remote a
Resource exhaustion in joserfc (versions 1.3.4-1.6.5) is possible because the RFC7797 unencoded-payload (b64=false) JWS
Token forgery in the Authlib Python library before 1.9.1 lets a remote, unauthenticated attacker mint HS256, HS384 or HS
Same weakness CWE-352 – Cross-Site Request Forgery (CSRF)
View allVendor StatusVendor
SUSE
Severity: Medium| Product | Status |
|---|---|
| SUSE Linux Enterprise Desktop 15 SP7 | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP7 | Fixed |
| SUSE Linux Enterprise Module for Python 3 15 SP7 | Fixed |
| SUSE Linux Enterprise Server 15 SP7 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 15 SP7 | Fixed |
| openSUSE Leap 15.6 | Fixed |
| SUSE Linux Enterprise Module for Python 3 15 SP6 | Fixed |
| SUSE Linux Enterprise Server 15 SP6 | Fixed |
| SUSE Linux Enterprise Server 15 SP6-LTSS | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | Fixed |
| SUSE Linux Enterprise Desktop 15 SP6 | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP6 | Fixed |
EUVD-2026-25615
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB