Vulnerability 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://[email protected]/` to pass the ALLOWED_DOC_DOMAINS check and return arbitrary fetched content to the LLM. This issue is fixed in version 0.9.21.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/apify/apify-mcp-server/commit/e39bdee530da1db0b3b3d3713558b33
- https://github.com/apify/apify-mcp-server/pull/781
- https://github.com/apify/apify-mcp-server/releases/tag/v0.9.21
- https://github.com/apify/apify-mcp-server/security/advisories/GHSA-jwp7-wg77-3w9
- https://github.com/apify/apify-mcp-server/security/advisories/GHSA-jwp7-wg77-3w9
FAQ
What is CVE-2026-46341?
CVE-2026-46341 is a vulnerability with a CVSS score of 6.1 (MEDIUM). 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 ...
How severe is CVE-2026-46341?
CVE-2026-46341 has been rated MEDIUM with a CVSS base score of 6.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-46341?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.