{"schemaVersion":3,"id":"CVE-2025-14546","aliases":["GHSA-hp6r-r9vc-q8wx","PYSEC-2026-1362","CGA-7g68-5qq6-c39m","CGA-cv7f-mj29-xr7q"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2025-12-19T05:00:02.151Z","modified":"2025-12-19T15:39:15.674Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.9,"severity":"medium","version":"4.0","versionLabel":"v4.0","source":"CVE.org","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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":6.9,"severity":"medium","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","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Pypi","score":6.9,"severity":"medium","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","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":6.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:N","exploitability":5.4,"impact":7,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Chainguard","score":6.9,"severity":"medium","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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":5.4,"severity":"medium","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/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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00359,"percentile":0.28188,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00359},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00359,"percentile":0.28188}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00359,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00359,"percentile":0.28188}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-285","name":"Improper Authorization","description":"The product does not perform or incorrectly performs an authorization check when an actor attempts to access a resource or perform an action.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/285.html"}],"affected":[{"vendor":"chainguard","product":"litellm","name":"litellm","label":"litellm","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/litellm","purlType":"apk","versions":[{"text":"< 1.83.10.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.83.10.0-r0","eol":null,"hubHref":null},{"vendor":"PyPI","product":"fastapi-sso","name":"fastapi-sso","label":"fastapi-sso","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/fastapi-sso","purlType":"pypi","versions":[{"text":"< 0.19.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.19.0","eol":null,"hubHref":null}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://security.snyk.io/vuln/SNYK-PYTHON-FASTAPISSO-14386403","label":"security.snyk.io/vuln/SNYK-PYTHON-FASTAPISSO-14386403","hostname":"security.snyk.io","tags":["WEB"]},{"url":"https://github.com/tomasvotava/fastapi-sso/commit/6117d1a5ad498ba57d671e8a059ebe20db5abe02","label":"github.com/tomasvotava/fastapi-sso/commit/6117d1a5ad498ba57d671e8a059ebe20db5abe02","hostname":"github.com","tags":["WEB","FIX"]},{"url":"https://github.com/tomasvotava/fastapi-sso/issues/266","label":"github.com/tomasvotava/fastapi-sso/issues/266","hostname":"github.com","tags":["WEB","REPORT"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-14546","label":"nvd.nist.gov/vuln/detail/CVE-2025-14546","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/tomasvotava/fastapi-sso","label":"github.com/tomasvotava/fastapi-sso","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://pypi.org/project/fastapi-sso","label":"pypi.org/project/fastapi-sso","hostname":"pypi.org","tags":["PACKAGE"]},{"url":"https://github.com/advisories/GHSA-hp6r-r9vc-q8wx","label":"github.com/advisories/GHSA-hp6r-r9vc-q8wx","hostname":"github.com","tags":["Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/14xxx/CVE-2025-14546.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2025/14xxx/CVE-2025-14546.json","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-JFVW-VMQH-56HH"]},"timeline":[{"kind":"published","date":"2025-12-19T05:00:02.151Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-12-19T15:39:15.674Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":28,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T01:52:50.885Z","stale":false,"partial":false}}