{"id":"CVE-2026-46341","summary":"Apify MCP server: Domain Allowlist Bypass in fetch-apify-docs via String Prefix Matching","details":"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.","aliases":["GHSA-jwp7-wg77-3w9v"],"modified":"2026-07-19T03:30:52.488025562Z","published":"2026-07-16T16:54:01.843Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46341.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-183","CWE-20"]},"references":[{"type":"WEB","url":"https://github.com/apify/apify-mcp-server/releases/tag/v0.9.21"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46341.json"},{"type":"ADVISORY","url":"https://github.com/apify/apify-mcp-server/security/advisories/GHSA-jwp7-wg77-3w9v"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46341"},{"type":"FIX","url":"https://github.com/apify/apify-mcp-server/commit/e39bdee530da1db0b3b3d3713558b33c9608e629"},{"type":"FIX","url":"https://github.com/apify/apify-mcp-server/pull/781"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/apify/apify-mcp-server","events":[{"introduced":"0"},{"fixed":"e39bdee530da1db0b3b3d3713558b33c9608e629"},{"fixed":"1578b234db24d90543fc038f56709fafe5073252"}],"database_specific":{"source":["AFFECTED_FIELD","REFERENCES"],"extracted_events":[{"introduced":"0"},{"fixed":"0.9.21"}]}}],"versions":["v0.9.16","v0.9.20","v0.9.19","v0.9.18","v0.9.17","v0.9.15","v0.9.14","v0.9.13","v0.9.12","v0.9.11","v0.9.10","v0.9.9","v0.9.8","v0.9.7","v0.9.6","v0.9.5","v0.9.4","v0.9.3","v0.9.2","v0.9.1","v0.9.0","v0.8.6","v0.8.4","v0.8.3","v0.8.2","v0.8.1","v0.7.4","v0.7.1","v0.7.0","v0.6.8","v0.6.7","v0.6.6","v0.6.5","v0.6.1","v0.6.4","v0.6.3","v0.6.2","v0.6.0","v0.5.9","v0.5.8","v0.5.6","v0.5.5","v0.5.2","v0.5.1","v0.5.0","v0.4.28","v0.4.27","v0.4.26","v0.4.25","v0.4.24","v0.4.23","v0.4.21","v0.4.20","v0.4.19","v0.4.18","v0.4.17","v0.4.16","v0.4.14","v0.4.13","v0.4.12","v0.4.10","v0.4.9","v0.4.7","v0.4.5","v0.4.4","v0.4.3","v0.4.1","v0.4.0","v0.3.9","v0.3.8","v0.3.7","v0.3.6","v0.3.5","v0.3.4","v0.3.3","v0.3.2","v0.3.1","v0.2.16","v0.2.15","v0.2.14","v0.2.13","v0.2.12","v0.2.11","v0.2.10","v0.2.9","v0.2.8","v0.2.7","v0.2.6","v0.2.5","v0.2.4","v0.2.3","v0.2.2","v0.2.1","v0.2.0","v0.1.30","v0.1.29","v0.1.28","v0.1.27","v0.1.26","v0.1.25","v0.1.24","v0.1.23","v0.1.22","v0.1.21","v0.1.20","v0.1.19","v0.1.18","v0.1.17","v0.1.16","v0.1.15","v0.1.14","v0.1.13","v0.1.12","v0.1.11","v0.1.10","v0.1.9","v0.1.8","v0.1.7","v0.1.6","v0.1.5","v0.1.4","v0.1.3","v0.1.2","v0.1.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-46341.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}