CVE-2025-68158: Authlib - Cross-Site Request Forgery
- Cve: CVE-2025-68158
- Name: Authlib - Cross-Site Request Forgery
- 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.
- Impact: Attackers can perform CSRF attacks, potentially leading to unauthorized actions on behalf of users.
- Remediation: Upgrade to version 1.6.6 or later.
- Vulnerability type: cross_site_request_forgery
- Vulnerability impact: cross_site_request_forgery
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Epss score: 0.00272
- Epss percentile: 0.1964
- Assignee: [email protected]
- Published at: 2026-01-08T18:15:59Z
- Age in days: 320
- Modified at: 2026-10-14T17:10:00Z
- Patch available: yes
- Public exploits total: 1
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-68158
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-352 | Cross-Site Request Forgery |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/authlib/authlib/security/advisories/GHSA-fg6f-75jq-6523 | nvd | 2026-01-08 |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| authlib:authlib | < 1.6.6 | no | nvd | /v1/products/authlib/authlib |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| authlib/authlib | commit, fix, package, security_advisory | yes | /v1/repositories/authlib/authlib |
Index
- Repositories: 116
- Repositories high signal: 65
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2026-01-08
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts