{"id":"CVE-2026-46341","published":"2026-07-16T16:54:01Z","modified":"2026-07-17T14:01:46Z","title":"Apify MCP server: Domain Allowlist Bypass in fetch-apify-docs via String Prefix Matching","vendor":"apify","product":"apify-mcp-server","tier":"tail","description":{"text":"The Apify MCP server enables AI agents to extract data from websites using ready-made scrapers, crawlers, and automation tools available on the Apify Store. Prior to 0.9.21, the fetch-apify-docs tool in src/tools/common/fetch_apify_docs.ts validates allowlisted documentation domains with String.startsWith() rather than URL hostname comparison, allowing attacker-controlled URLs such as `https://docs.apify.com.evil.com/` and `https://docs.apify.com@evil.com/` to pass the ALLOWED_DOC_DOMAINS check and return arbitrary fetched content to the LLM. This issue is fixed in version 0.9.21.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00234,"percentile":0.14645,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"},{"id":"CWE-183","name":"Permissive List of Allowed Inputs"}],"references":[{"url":"https://github.com/apify/apify-mcp-server/security/advisories/GHSA-jwp7-wg77-3w9v","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/apify/apify-mcp-server/pull/781","tags":["x_refsource_MISC"]},{"url":"https://github.com/apify/apify-mcp-server/commit/e39bdee530da1db0b3b3d3713558b33c9608e629","tags":["x_refsource_MISC"]},{"url":"https://github.com/apify/apify-mcp-server/releases/tag/v0.9.21","tags":["x_refsource_MISC"]}],"priority":{"score":7.2,"factors":[{"name":"EPSS percentile","points":2.93},{"name":"CVSS severity","points":4.27}]},"vendorSlug":"apify","affectedVersions":[{"vendor":"apify","product":"apify-mcp-server","versions":["< 0.9.21"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-17T14:01:40.675260Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@apify/actors-mcp-server","vulnerableRanges":["<0.9.21"],"patched":["0.9.21"],"from":["GHSA-jwp7-wg77-3w9v"],"provenance":"source"}],"summary":{"text":"The Apify MCP server (apify-mcp-server) contains a flaw in its fetch-apify-docs tool, where the allowlist of documentation domains is checked with a string prefix match rather than a proper hostname comparison. An attacker who can get the tool to fetch a crafted URL, such as one beginning with an allowlisted domain name followed by a different host, can have arbitrary content from that URL returned to the LLM, which requires no privileges but does require a user to interact with the agent in a way that triggers the fetch.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:14:58Z"},"euvd":{"id":"EUVD-2026-44984","exploited":false,"provenance":"source"}}