{"id":"CVE-2026-46341","revision":"6776f9b542c6461d8d71b750d3c1d14a","records":[{"revision":"6776f9b542c6461d8d71b750d3c1d14a","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-46341","aliases":[],"title":"Apify MCP server: Domain Allowlist Bypass in fetch-apify-docs via String Prefix Matching","description":"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.","state":0,"publishedAt":"2026-07-16T16:54:01.843+00:00","modifiedAt":"2026-07-17T14:01:46.108+00:00","affected":[{"ecosystem":"Vendor product","name":"apify-mcp-server","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"apify\",\n                    \"product\": \"apify-mcp-server\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 0.9.21\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"severity":"MEDIUM"}],"references":["https://github.com/apify/apify-mcp-server/security/advisories/GHSA-jwp7-wg77-3w9v","https://github.com/apify/apify-mcp-server/pull/781","https://github.com/apify/apify-mcp-server/commit/e39bdee530da1db0b3b3d3713558b33c9608e629","https://github.com/apify/apify-mcp-server/releases/tag/v0.9.21"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-46341","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-46341","identifiers":["CVE-2026-46341"]},"retained":false,"historicalAffected":[]}],"coverage":[]}