{"id":"CVE-2026-142275","aliases":["EUVD-2026-141555","GHSA-rgq8-hr8g-gvwf"],"status":"published","title":"Filestash before commit a634722 Session Token Theft via MCP OAuth redirect_uri","description":"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.","severity":{"version":"4.0","score":8.6,"vector":"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","level":"high","assessor":"cna","from":"cve","others":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","level":"high","assessor":"cna","from":"cve"},{"version":"4.0","score":8.6,"vector":"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/E:X/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","level":"high","from":"ghsa"}]},"epss":{"day":"2026-12-04","score":0.00523,"percentile":0.4591,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-601"],"published":"2026-12-02T16:49:22Z","modified":"2026-12-05T05:19:36Z","products":[{"vendor":"mickael-kerjean","product":"filestash"}],"references":[{"url":"https://github.com/mickael-kerjean/filestash/blob/76238d7fc8a090433ee0ea5976b14a6e660f5419/server/plugin/plg_handler_mcp/handler_auth.go#L89-L156","tags":["technical-description","article"]},{"url":"https://github.com/mickael-kerjean/filestash/blob/76238d7fc8a090433ee0ea5976b14a6e660f5419/server/plugin/plg_handler_mcp/index.go#L35-L41","tags":["technical-description","article"]},{"url":"https://github.com/mickael-kerjean/filestash/commit/a6347229a578c7659257b90e2d5f3980d2afdc44","tags":["patch","fix"]},{"url":"https://www.vulncheck.com/advisories/filestash-before-commit-a634722-session-token-theft-via-mcp-oauth-redirect-uri","tags":["third-party-advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142275","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-rgq8-hr8g-gvwf"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142275.json","tags":["advisory"]},{"url":"https://github.com/mickael-kerjean/filestash","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2026-142275","title":"Filestash before commit a634722 Session Token Theft via MCP OAuth redirect_uri","description":"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.","status":"published","published":"2026-12-02T16:49:22.193Z","modified":"2026-12-05T03:05:23.373Z","cvss":[{"version":"4.0","score":8.6,"vector":"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","level":"high","assessor":"cna"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","level":"high","assessor":"cna"}],"cwes":["CWE-601"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total","date":"2026-12-05"},"updated_at":"2026-12-05T03:21:03.106156Z"}],"euvd":[{"id":"EUVD-2026-141555","description":"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.","status":"published","published":"2026-12-02T16:49:22Z","modified":"2026-12-05T03:05:23Z","cvss":[{"version":"4.0","score":8.6,"vector":"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","level":"high"}],"updated_at":"2026-12-02T21:27:23.327078Z"}],"ghsa":[{"id":"GHSA-rgq8-hr8g-gvwf","title":"Filestash before commit a634722 contains an open redirect vulnerability in the MCP OAuth flow...","description":"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.","status":"published","published":"2026-12-02T18:31:50Z","modified":"2026-12-02T18:31:57Z","cvss":[{"version":"4.0","score":8.6,"vector":"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/E:X/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","level":"high"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","level":"high"}],"cwes":["CWE-601"],"updated_at":"2026-12-02T18:38:44.755025Z"}],"nvd":[{"id":"CVE-2026-142275","description":"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.","status":"published","published":"2026-12-02T17:17:55.4Z","modified":"2026-12-05T05:19:36.073Z","cvss":[{"version":"4.0","score":8.6,"vector":"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/E:X/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","level":"high","assessor":"secondary"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","level":"high","assessor":"secondary"}],"cwes":["CWE-601"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total","date":"2026-12-05"},"updated_at":"2026-12-05T05:22:46.281266Z"}],"osv":[{"id":"CVE-2026-142275","title":"Filestash before commit a634722 Session Token Theft via MCP OAuth redirect_uri","description":"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.","status":"published","published":"2026-12-02T16:49:22.193Z","modified":"2026-12-05T04:46:06.492211847Z","cvss":[{"version":"4.0","score":8.6,"vector":"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","level":"high"}],"cwes":["CWE-601"],"updated_at":"2026-12-03T21:10:05.302032Z"}]}}
