Approved changes feed: RSS · Atom

cpe:2.3:a:fastapi-users_project:fastapi_users:*:*:*:*:*:python:*:*

part: a version: * update: *

VendorFastapi Users Project (e5040b45-c179-50c1-82e5-bacf9ae64e28)
ProductFastapi Users (f5e11f0b-6843-59f6-9d74-147edabc5b41)
Edition*
Language*
Software edition*
Target softwarepython
Target hardware*
Other*

Notes

Imported from purl2cpe mapping

PURL mappings

PURLSourceLast updated
pkg:github/fastapi-users/fastapi-users purl2cpe 2026-06-01 10:11:29.923883

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2025-68481 vulnerable 2026-06-08 07:41:21.193802 FastAPI Users Vulnerable to 1-click Account Takeover in Apps Using FastAPI SSO
MEDIUM (5.9)
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 checks that the JWT verifies under `state_secret` and is unexpired; there is no attempt to match the state value to the browser that initiated the OAuth request, no correlation cookie, and no server-side cache. Any attacker can hit `/authorize`, capture the server-generated state, finish the upstream OAuth flow with their own provider account, and then trick a victim into loading `.../callback?code=<attacker_code>&state=<attacker_state>`. Because the state JWT is valid for any client for \~1 hour, the victim’s browser will complete the flow. This leads to login CSRF. Depending on the app’s logic, the login CSRF can lead to an account takeover of the victim account or to the victim user getting logged in to the attacker's account. Version 15.0.2 contains a patch for the issue.
Published: 2025-12-19T20:14:07.636Z
Updated: 2025-12-19T20:40:18.988Z
Reference links
Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.

Inspect record JSON

Open JSON directly

Open this panel to browse, search, copy or download the JSON record.