CVE-2025-14546

MEDIUM EPSS 22.8%
Published Dec 19, 20256mo ago · Modified Jun 17, 20262w ago
5.4 CVSS 4.0
Medium
Find Similar
Published Dec 19, 2025 6mo ago
Last Modified Jun 17, 2026 2w ago

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

CVSS Details

Base Score
5.4
Exploitability
Impact
Vector string
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Attack Vector Network
Attack Complexity Low
Privileges Required Low
User Interaction A
Scope X

Threat Intelligence

EPSS Exploit Probability
22.8% percentile
Exploit & Patch Status
No Known Exploit
No Patch Available

Weaknesses 1

CWE-285

References 3

  • github.com https://github.com/tomasvotava/fastapi-sso/commit/6117d1a5ad498ba57d671e8a059ebe20db5abe02
  • github.com https://github.com/tomasvotava/fastapi-sso/issues/266
  • security.snyk.io https://security.snyk.io/vuln/SNYK-PYTHON-FASTAPISSO-14386403

Remediation

No remediation data recorded yet

Check vendor advisories and the NVD entry for patch availability.