CVE-2025-14546 Details
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.
A Cross-Site Request Forgery (CSRF) vulnerability exists in the FastAPI SSO package, affecting versions prior to 0.19.0. The issue arises from inadequate validation of the OAuth state parameter during the authentication callback. Although the 'get_login_url' method can generate a state, it fails to store it or associate it with the user's session. As a result, the 'verify_and_process' method accepts the state from query parameters without verifying it against a trusted local value. This flaw enables remote attackers to manipulate victims into visiting malicious callback URLs, potentially linking the attackers' accounts to the victims' internal accounts.
Users are advised to upgrade FastAPI SSO to version 0.19.0 or later.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Dec 19, 2025CISA-ADP
Assessed Dec 19, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/tomasvotava/fastapi-sso/commit/6117d1a5ad498ba57d671e8a059ebe20db5abe02 | [email protected] | Source CodeVendor |
| https://github.com/tomasvotava/fastapi-sso/issues/266 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://security.snyk.io/vuln/SNYK-PYTHON-FASTAPISSO-14386403 | [email protected] | AdvisoryExploitRemedy |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-285 | Improper Authorization | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| tomasvotava fastapi-sso | All versions |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 13, 2026 | CVE Translated | [email protected] |
| Oct 5, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Dec 19, 2025 | New CVE Received | [email protected] |
Volerion