CVE-2025-14546
MEDIUM 5.4CVSS 4.0FastAPI SSP is vulnerable to Cross-site Request Forgery (CSRF) through improper OAuth parameter validation
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.
- Published
- 19 Dec 2025
- Last modified
- 13 Oct 2026
- Assigned by
- report@snyk.io
- NVD status
- Deferred
- Weakness
- CWE-285
- Also known as
- GHSA-hp6r-r9vc-q8wxPYSEC-2026-1362
- Sources
- NVDJSONOSV GHSA-hp6r-r9vc-q8wxJSONOSV PYSEC-2026-1362JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | report@snyk.io (Secondary) | CVSS 4.0 | MEDIUM 5.4 | 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 |
| OSV | GitHub | CVSS 4.0 | 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 | |
| OSV | PyPA | CVSS 4.0 | 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 | |
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | MEDIUM 6.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:N |
| OSV | PyPA | CVSS 3.1 | MEDIUM 6.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | fastapi-sso | < 0.19.0 | 0.19.0 |
References
- https://github.com/tomasvotava/fastapi-sso/commit/6117d1a5ad498ba57d671e8a059ebe20db5abe02 · WEB
- https://github.com/tomasvotava/fastapi-sso/issues/266 · WEB
- https://security.snyk.io/vuln/SNYK-PYTHON-FASTAPISSO-14386403 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-14546 · ADVISORY
- https://github.com/tomasvotava/fastapi-sso · PACKAGE
- https://pypi.org/project/fastapi-sso · PACKAGE
- https://github.com/advisories/GHSA-hp6r-r9vc-q8wx · ADVISORY
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 19 Dec 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 19 Dec 2025)