Read the docs
TI-2025-13288 Aliases CVE-2025-14546GHSA-hp6r-r9vc-q8wx

Improper authorization in fastapi-sso

Priority MEDIUM 64CWE-285Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
Active
Attack complexity
Low
Attack requirements
None
Impact type
Security bypass
Confidentiality · integrity · availability
High · Low · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-285.

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00359 29th percentileScored 2026-11-07
Fix Fixed fastapi-sso: 0.19.0fastapi-sso (PyPI): 0.19.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
—fastapi-ssobefore 0.19.00.19.0Patch availableCNA
—fastapi-sso (PyPI)before 0.19.00.19.0Patch availableGHSA-hp6r-r9vc-q8wx
  • fastapi-sso Vendor— Affected before 0.19.0 Fixed in 0.19.0 Patch available CNA
  • fastapi-sso (PyPI) Vendor— Affected before 0.19.0 Fixed in 0.19.0 Patch available GHSA-hp6r-r9vc-q8wx

Remediation

  • Fix · CNA fastapi-sso Fixed in 0.19.0
  • Fix · GHSA-hp6r-r9vc-q8wx fastapi-sso (PyPI) Fixed in 0.19.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-14546
  2. 2026-10-03 Alias added: GHSA-hp6r-r9vc-q8wx

References

Sources