CVE Explore

Auth bypass in Fastapi-Sso

CVE-2025-14546

CVSS v3
6.3 Medium
Public exploits
None known
EPSS
0.004 · 30.2th percentile
Published
2025-12-19

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.

Published · last modified .

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.

Attack Vector
Network AV:N
Attack Complexity
Low AC:L
Privileges Required
Low PR:L
User Interaction
Required UI:R
Scope
Unchanged S:U
Confidentiality
High C:H
Integrity
Low I:L
Availability
None A:N

EPSS exploit prediction

EPSS 0.004, 30.2th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

  • Fastapi-Sso — versions 0

Weakness classification (CWE)

References