CVE-2026-46341
The Apify MCP server enables AI agents to extract data from …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/apify/apify-mcp-server/security/advisories/GHSA-jwp7-wg77-3w9v
- github.com/advisories/GHSA-jwp7-wg77-3w9v
- github.com/apify/apify-mcp-server/commit/e39bdee530da1db0b3b3d3713558b33c9608e629
- github.com/apify/apify-mcp-server/pull/781
- github.com/apify/apify-mcp-server/releases/tag/v0.9.21
- nvd.nist.gov/vuln/detail/CVE-2026-46341
- cve.org/CVERecord?id=CVE-2026-46341
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.