CVE Explorer
CVE-2025-68481
FastAPI Users allows users to quickly add a registration and authentication system to their FastAPI project. Prior to version 15.0.2, the OAuth login state tokens are completely stateless and carry no per-request entropy or any data that could link them to the session that initiated the OAuth flow. `generate_state_token()` is always called with an empty `state_data` dict, so the resulting JWT only contains the fixed audience claim plus an expiration timestamp. On callback, the library merely che
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-352","description":"CWE-352: Cross-Site Request Forgery (CSRF)","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:aca61d973dbb0329dc487fe27b1265a7952e05ad880b79bd895501635a3fa5c1 · sha256:5a719940c9db8b74… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-285","description":"CWE-285: Improper Authorization","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:aca61d973dbb0329dc487fe27b1265a7952e05ad880b79bd895501635a3fa5c1 · sha256:5a719940c9db8b74… · /containers/cna/problemTypes/0/descriptions/0
Affected products and versions
1 source assertion{"product":"fastapi-users","vendor":"fastapi-users","versions":[{"status":"affected","version":"< 15.0.2"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:aca61d973dbb0329dc487fe27b1265a7952e05ad880b79bd895501635a3fa5c1 · sha256:5a719940c9db8b74… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.9,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:aca61d973dbb0329dc487fe27b1265a7952e05ad880b79bd895501635a3fa5c1 · sha256:5a719940c9db8b74… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
2 source assertions{"cweId":"CWE-352","description":"CWE-352: Cross-Site Request Forgery (CSRF)","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:aca61d973dbb0329dc487fe27b1265a7952e05ad880b79bd895501635a3fa5c1 · sha256:5a719940c9db8b74… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-285","description":"CWE-285: Improper Authorization","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:aca61d973dbb0329dc487fe27b1265a7952e05ad880b79bd895501635a3fa5c1 · sha256:5a719940c9db8b74… · /containers/cna/problemTypes/0/descriptions/0
Source references
4 source assertions{"name":"https://github.com/fastapi-users/fastapi-users/blob/bcee8c9b884de31decb5d799aead3974a0b5b158/fastapi_users/router/oauth.py#L111","tags":["x_refsource_MISC"],"url":"https://github.com/fastapi-users/fastapi-users/blob/bcee8c9b884de31decb5d799aead3974a0b5b158/fastapi_users/router/oauth.py#L111"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:aca61d973dbb0329dc487fe27b1265a7952e05ad880b79bd895501635a3fa5c1 · sha256:5a719940c9db8b74… · /containers/cna/references/2
{"name":"https://github.com/fastapi-users/fastapi-users/blob/bcee8c9b884de31decb5d799aead3974a0b5b158/fastapi_users/router/oauth.py#L57","tags":["x_refsource_MISC"],"url":"https://github.com/fastapi-users/fastapi-users/blob/bcee8c9b884de31decb5d799aead3974a0b5b158/fastapi_users/router/oauth.py#L57"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:aca61d973dbb0329dc487fe27b1265a7952e05ad880b79bd895501635a3fa5c1 · sha256:5a719940c9db8b74… · /containers/cna/references/3
{"name":"https://github.com/fastapi-users/fastapi-users/commit/7cf413cd766b9cb0ab323ce424ddab2c0d235932","tags":["x_refsource_MISC"],"url":"https://github.com/fastapi-users/fastapi-users/commit/7cf413cd766b9cb0ab323ce424ddab2c0d235932"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:aca61d973dbb0329dc487fe27b1265a7952e05ad880b79bd895501635a3fa5c1 · sha256:5a719940c9db8b74… · /containers/cna/references/1
{"name":"https://github.com/fastapi-users/fastapi-users/security/advisories/GHSA-5j53-63w8-8625","tags":["x_refsource_CONFIRM"],"url":"https://github.com/fastapi-users/fastapi-users/security/advisories/GHSA-5j53-63w8-8625"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:aca61d973dbb0329dc487fe27b1265a7952e05ad880b79bd895501635a3fa5c1 · sha256:5a719940c9db8b74… · /containers/cna/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.