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/fetchapifydocs.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 ALLOWEDDOCDOMAINS check and return arbitrary fetched content to the LLM. This issue is fixed in version 0.9.21.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46341.json",
"cwe_ids": [
"CWE-183",
"CWE-20"
],
"cna_assigner": "GitHub_M"
}