CVE-2026-46341
Apify MCP server: Domain Allowlist Bypass in fetch-apify-docs via String Prefix Matching
CVSS Score
6.1
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-20 CWE-183 |
| Vendor | apify |
| Product | apify-mcp-server |
| Published | Jul 16, 2026 |
Stay Ahead of the Next One
Get instant alerts for apify apify-mcp-server
Be the first to know when new medium vulnerabilities affecting apify apify-mcp-server are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
Affected Versions
apify / apify-mcp-server
< 0.9.21
References
github.com: https://github.com/apify/apify-mcp-server/security/advisories/GHSA-jwp7-wg77-3w9v github.com: https://github.com/apify/apify-mcp-server/pull/781 github.com: https://github.com/apify/apify-mcp-server/commit/e39bdee530da1db0b3b3d3713558b33c9608e629 github.com: https://github.com/apify/apify-mcp-server/releases/tag/v0.9.21