Skip to main content
← All vulnerabilities
CVE-2025-14546PYSEC-2026-1362GHSA-HP6R-R9VC-Q8WX

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.19.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • n/a fastapi-sso

    fixed in 0.19.0

  • fastapi-ssoPyPI

    fixed in 0.19.0

References 3

security.snyk.io

GitHub · tomasvotava/fastapi-sso