Improper authorization in fastapi-sso
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
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
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | fastapi-sso | before 0.19.0 | 0.19.0 | Patch available | CNA |
| — | fastapi-sso (PyPI) | before 0.19.0 | 0.19.0 | Patch available | GHSA-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
- 2026-10-02 Threatist record created from CVE-2025-14546
- 2026-10-03 Alias added: GHSA-hp6r-r9vc-q8wx
References
Sources
- CVE-2025-14546 · CVE Program
- CVE-2025-14546 · NVD
- FIRST EPSS
- GHSA-hp6r-r9vc-q8wx · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences