Auth bypass in Fastapi-Sso
CVE-2025-14546
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.
EPSS: 0.003 (24.0th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 6.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:N.
Affected products
- N/a Fastapi-sso — versions 0
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2025-14546?
- CVE-2025-14546 is a medium-severity vulnerability in Fastapi-Sso, classified under Improper Authorization. CVSS score: 6.3/10. Published 2025-12-19.
- How severe is CVE-2025-14546?
- Medium severity. CVSS v3 base score is 6.3 out of 10.