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.
Configurations

No configuration.

History

05 Oct 2026, 18:10

Type Values Removed Values Added
Summary
  • (es) Las versiones del paquete fastapi-sso anteriores a la 0.19.0 son vulnerables a la falsificación de petición en sitios cruzados (CSRF) debido a la validación incorrecta del parámetro de estado de OAuth durante la devolución de llamada de autenticación. Si bien el método get_login_url permite la generación de estado, no persiste el estado ni lo vincula a la sesión del usuario. En consecuencia, el método verify_and_process acepta el estado recibido en los parámetros de consulta sin verificarlo contra un valor local de confianza. Esto permite a un atacante remoto engañar a una víctima para que visite una URL de devolución de llamada maliciosa, lo que puede resultar en que la cuenta del atacante se vincule a la cuenta interna de la víctima.

19 Dec 2025, 05:16

Type Values Removed Values Added
New CVE

Information

Published : 2025-12-19 05:16

Updated : 2026-10-13 11:10


NVD link : CVE-2025-14546

Mitre link : CVE-2025-14546

CVE.ORG link : CVE-2025-14546


JSON object : View

Products Affected

No product.

CWE
CWE-285

Improper Authorization