CVE-2025-14546
MEDIUMfastapi-sso < 0.19.0 - Cross-Site Request Forgery via OAuth State Parameter
Title source: llmDescription
Versions of the package fastapi-sso before 0.19.0 are vulnerable to Cross-site Request Forgery (CSRF) due to the improper validation of the OAuth state parameter during the authentication callback. While the get_login_url method allows for state generation, it does not persist the state or bind it to the user's session. Consequently, the verify_and_process method accepts the state received in the query parameters without verifying it against a trusted local value. This allows a remote attacker to trick a victim into visiting a malicious callback URL, which can result in the attacker's account being linked to the victim's internal account.
References (3)
Core 3
Core References
Issue Tracking
https://github.com/tomasvotava/fastapi-sso/issues/266
Third Party Advisory
https://security.snyk.io/vuln/SNYK-PYTHON-FASTAPISSO-14386403
Scores
CVSS v3
6.3
EPSS
0.0031
EPSS Percentile
22.6%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:N
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
partial
Details
CWE
CWE-285
Status
published
Products (2)
n/a/fastapi-sso
< 0.19.0
pypi/fastapi-sso
0 - 0.19.0PyPI
Published
Dec 19, 2025
Tracked Since
Feb 18, 2026