{"id":"CVE-2026-115750","kind":"vulnerability","aliases":["CVE-2026-115750"],"related":[],"title":"mcp-from-openapi: cross-origin redirects leak bearer tokens and cookies","description":"mcp-from-openapi from 2.5.0 before 2.9.0 contains a credential exposure vulnerability that allows attackers to capture Authorization and Cookie headers because safeFetch() forwards them on cross-origin redirects. Attackers controlling a spec host or abusing an open redirect can redirect fromURL() spec requests to their own origin to steal bearer tokens or cookies.","summary":"mcp-from-openapi versions 2.5.0 through 2.8.x forward Authorization and Cookie headers when its safeFetch() follows a redirect to a different origin. An attacker who controls the OpenAPI spec host, or can abuse an open redirect on it, can capture bearer tokens or cookies.","severity":"medium","cvss":6.3,"epss":0.00379,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["ai-tooling","mcp","node","openapi","self-hosted"],"not_affected_if":["local-spec-files","no-auth-headers"],"how_to_check":"- Check the installed version of `mcp-from-openapi` in the project lockfile or with `npm ls mcp-from-openapi`\n- Look for calls to `fromURL()` that load specs from remote hosts with credentials set in headers","fix":"- Upgrade `mcp-from-openapi` to `2.9.0` or later\n- Rotate any bearer tokens or session cookies that were sent to spec hosts while on a vulnerable version","status":"open","published_at":"2026-10-23T13:17:09+00:00","first_seen_at":"2026-10-23T21:57:33+00:00","triaged_at":"2026-10-25T04:00:02+00:00","updated_at":"2026-10-25T12:38:50+00:00","category":"ai-tooling","confidence":0.7,"triage":{"at":"2026-10-25T04:00:02Z","model":"claude-haiku-5-5","output":{"fix":"- Upgrade `mcp-from-openapi` to `2.9.0` or later\n- Rotate any bearer tokens or session cookies that were sent to spec hosts while on a vulnerable version","reach":"internet","title":"mcp-from-openapi: cross-origin redirects leak bearer tokens and cookies","impact":"medium","summary":"mcp-from-openapi versions 2.5.0 through 2.8.x forward Authorization and Cookie headers when its safeFetch() follows a redirect to a different origin. An attacker who controls the OpenAPI spec host, or can abuse an open redirect on it, can capture bearer tokens or cookies.","category":"ai-tooling","nicknames":[],"who_cares":["mcp","openapi","node","self-hosted"],"confidence":0.7,"needs_auth":"no","worst_case":"Attacker captures bearer tokens and cookies sent during spec fetch","analyst_note":"","how_to_check":"- Check the installed version of `mcp-from-openapi` in the project lockfile or with `npm ls mcp-from-openapi`\n- Look for calls to `fromURL()` that load specs from remote hosts with credentials set in headers","needs_analyst":false,"not_affected_if":["local-spec-files","no-auth-headers"],"who_is_affected":"Teams that call fromURL() with credentials to load an OpenAPI spec from a remote host they do not fully control, or from a host with an open redirect. Projects that only load local spec files or use no auth headers when fetching specs can skip it.","user_interaction":"no","needs_special_setup":"yes","severity_if_unknown":"medium"},"cost_usd":0.00062,"input_tokens":3357,"output_tokens":568,"severity_before":"medium"},"analyst_status":null,"analyst_note":null,"search":"'-115750':16A,19A '-2026':15A,18A '2.5.0':34B,80C '2.8':36B '2.9.0':82C 'abus':63B,112C 'ai':21B 'ai-tool':20B 'allow':89C 'attack':54B,90C,106C 'author':39B,93C 'bearer':10A,71B,127C 'captur':70B,92C 'contain':83C 'control':56B,107C 'cooki':13A,41B,74B,95C,130C 'credenti':85C 'cross':6A,103C 'cross-origin':5A,102C 'cve':14A,17A 'differ':51B 'exposur':86C 'follow':46B 'forward':38B,99C 'fromurl':118C 'header':42B,96C 'host':28B,60B,110C 'leak':9A 'mcp':2A,23B,30B,76C 'mcp-from-openapi':1A,29B,75C 'node':24B 'open':65B,114C 'openapi':4A,25B,32B,58B,78C 'origin':7A,52B,104C,124C 'redirect':8A,48B,66B,105C,115C,117C 'request':120C 'safefetch':45B,98C 'self':27B 'self-host':26B 'spec':59B,109C,119C 'steal':126C 'token':11A,72B,128C 'tool':22B 'version':33B 'vulner':87C 'x':37B","nicknames":[],"mitigations":[],"who_affected":"Teams that call fromURL() with credentials to load an OpenAPI spec from a remote host they do not fully control, or from a host with an open redirect. Projects that only load local spec files or use no auth headers when fetching specs can skip it.","tier":"B","verified":{},"analyst_revisit_at":null,"first_public_at":"2026-10-23T13:17:09+00:00","kev":null,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/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","cvss_by":"disclosure@vulncheck.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-115750","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-115750","severity":null,"published_at":"2026-10-23T13:17:09+00:00","modified_at":"2026-10-23T19:57:42+00:00","first_seen_at":"2026-10-23T21:57:33+00:00","fetched_at":"2026-10-23T22:29:03+00:00","note":null},{"source":"epss","external_id":"CVE-2026-115750","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-115750","severity":null,"published_at":null,"modified_at":null,"first_seen_at":"2026-10-25T12:38:50+00:00","fetched_at":"2026-10-25T12:38:50+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}