CVE-2025-14546

Description

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 users 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 attackers account being linked to the victims internal account.

Risk Information

Base Score
6.3
MODERATE
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:N
EPSS Score
Exploitation Probability
0.144

Associated Vulnerability

VulnerabilityOS Platform
Vulnerabilities CVE-2025-14546 are fixed in Python-fastapi-sso 0.19.0Windows
Vulnerabilities CVE-2025-14546 are fixed in Python-fastapi-sso for linux 0.19.0Linux

Patch Details

No records found

References

https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234