{"cve":"CVE-2025-14546","nvd":{"published":"2025-12-19T05:16:09.497","modified":"2026-10-13T11:10:00.203","status":"Deferred","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.","cvss_v4":{"vector":"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","score":5.4},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:N","score":6.3},"cwes":["CWE-285"],"references":["https://github.com/tomasvotava/fastapi-sso/commit/6117d1a5ad498ba57d671e8a059ebe20db5abe02","https://github.com/tomasvotava/fastapi-sso/issues/266","https://security.snyk.io/vuln/SNYK-PYTHON-FASTAPISSO-14386403"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:17:07.138532058+00:00"},"epss":{"cve":"CVE-2025-14546","score":0.00359,"percentile":0.29333,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-hp6r-r9vc-q8wx","url":"https://osv.dev/vulnerability/GHSA-hp6r-r9vc-q8wx","summary":"FastAPI SSP is vulnerable to Cross-site Request Forgery (CSRF) through improper OAuth parameter validation","modified":"2026-09-10T03:50:31.957663246Z","packages":[{"ecosystem":"PyPI","name":"fastapi-sso","purl":"pkg:pypi/fastapi-sso","ranges":["<0.19.0"],"fixed":["0.19.0"]}]},{"id":"PYSEC-2026-1362","url":"https://osv.dev/vulnerability/PYSEC-2026-1362","summary":"FastAPI SSP is vulnerable to Cross-site Request Forgery (CSRF) through improper OAuth parameter validation","modified":"2026-07-07T17:47:35.987584320Z","packages":[{"ecosystem":"PyPI","name":"fastapi-sso","purl":"pkg:pypi/fastapi-sso","ranges":["<0.19.0"],"fixed":["0.19.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}