{"id":"CVE-2026-142275","summary":"Filestash before commit a634722 Session Token Theft via MCP OAuth redirect_uri","details":"Filestash before commit a634722 contains an open redirect vulnerability in the MCP OAuth flow that allows remote attackers to steal session tokens via an unvalidated redirect_uri. Attackers can lure logged-in users to a crafted /mcp/authorize link, capture the authorization code, and exchange it at /mcp/token for the victim's session token.","modified":"2026-12-02T18:00:58.721297256Z","published":"2026-12-02T16:49:22.193Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-601"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142275.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142275.json"},{"type":"PACKAGE","url":"https://github.com/mickael-kerjean/filestash"},{"type":"ARTICLE","url":"https://github.com/mickael-kerjean/filestash/blob/76238d7fc8a090433ee0ea5976b14a6e660f5419/server/plugin/plg_handler_mcp/handler_auth.go#L89-L156"},{"type":"ARTICLE","url":"https://github.com/mickael-kerjean/filestash/blob/76238d7fc8a090433ee0ea5976b14a6e660f5419/server/plugin/plg_handler_mcp/index.go#L35-L41"},{"type":"FIX","url":"https://github.com/mickael-kerjean/filestash/commit/a6347229a578c7659257b90e2d5f3980d2afdc44"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142275"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/filestash-before-commit-a634722-session-token-theft-via-mcp-oauth-redirect-uri"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mickael-kerjean/filestash","events":[{"introduced":"7821bc8681ea054783f850f188f7c41293b766ae"},{"fixed":"a6347229a578c7659257b90e2d5f3980d2afdc44"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"7821bc8681ea054783f850f188f7c41293b766ae"},{"fixed":"a6347229a578c7659257b90e2d5f3980d2afdc44"}]},{"source":"REFERENCES_COMMIT","range":[{"fixed":"a6347229a578c7659257b90e2d5f3980d2afdc44"}]}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142275.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"}]}