CVE Explorer
CVE-2025-68158
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 c
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"authlib","vendor":"authlib","versions":[{"status":"affected","version":">= 1.0.0, < 1.6.6"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:0cfd492f1e8ee058dc58a3c02d66d79e2a0987db8ce8c9c195f194379e7223db · sha256:e250c0dd1abe20b0… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.7,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:0cfd492f1e8ee058dc58a3c02d66d79e2a0987db8ce8c9c195f194379e7223db · sha256:e250c0dd1abe20b0… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-352","description":"CWE-352: Cross-Site Request Forgery (CSRF)","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:0cfd492f1e8ee058dc58a3c02d66d79e2a0987db8ce8c9c195f194379e7223db · sha256:e250c0dd1abe20b0… · /containers/cna/problemTypes/0/descriptions/0
Source references
4 source assertions{"name":"https://github.com/authlib/authlib/commit/2808378611dd6fb2532b189a9087877d8f0c0489","tags":["x_refsource_MISC"],"url":"https://github.com/authlib/authlib/commit/2808378611dd6fb2532b189a9087877d8f0c0489"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:0cfd492f1e8ee058dc58a3c02d66d79e2a0987db8ce8c9c195f194379e7223db · sha256:e250c0dd1abe20b0… · /containers/cna/references/1
{"name":"https://github.com/authlib/authlib/commit/7974f45e4d7492ab5f527577677f2770ce423228","tags":["x_refsource_MISC"],"url":"https://github.com/authlib/authlib/commit/7974f45e4d7492ab5f527577677f2770ce423228"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:0cfd492f1e8ee058dc58a3c02d66d79e2a0987db8ce8c9c195f194379e7223db · sha256:e250c0dd1abe20b0… · /containers/cna/references/2
{"name":"https://github.com/authlib/authlib/security/advisories/GHSA-fg6f-75jq-6523","tags":["x_refsource_CONFIRM"],"url":"https://github.com/authlib/authlib/security/advisories/GHSA-fg6f-75jq-6523"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:0cfd492f1e8ee058dc58a3c02d66d79e2a0987db8ce8c9c195f194379e7223db · sha256:e250c0dd1abe20b0… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://github.com/authlib/authlib/security/advisories/GHSA-fg6f-75jq-6523"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:0cfd492f1e8ee058dc58a3c02d66d79e2a0987db8ce8c9c195f194379e7223db · sha256:e250c0dd1abe20b0… · /containers/adp/0/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.