Apify MCP server: Domain Allowlist Bypass in fetch-apify-docs via String Prefix Matching
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| apify | apify-mcp-server | before 0.9.21 | 0.9.21 | Patch available | CNA |
| — | @apify/actors-mcp-server (npm) | before 0.9.21 | 0.9.21 | Patch available | GHSA-jwp7-wg77-3w9v |
- apify-mcp-server Vendorapify Affected before 0.9.21 Fixed in 0.9.21 Patch available CNA
- @apify/actors-mcp-server (npm) Vendor— Affected before 0.9.21 Fixed in 0.9.21 Patch available GHSA-jwp7-wg77-3w9v
Remediation
- Fix · CNA apify-mcp-server (apify) Fixed in 0.9.21
- Fix · GHSA-jwp7-wg77-3w9v @apify/actors-mcp-server (npm) Fixed in 0.9.21 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-46341
- 2026-10-03 Alias added: GHSA-jwp7-wg77-3w9v
References
Other 5
- https://github.com/apify/apify-mcp-server/security/advisories/GHSA-jwp7-wg77-3w9v
- https://github.com/apify/apify-mcp-server/pull/781
- https://github.com/apify/apify-mcp-server/commit/e39bdee530da1db0b3b3d3713558b33c9608e629
- https://github.com/apify/apify-mcp-server/releases/tag/v0.9.21
- https://github.com/apify/apify-mcp-server
More apify vulnerabilities
- TI-2026-36913 Actor MCP path authority injection leaks Apify token CVSS 3.1HIGH 8.1
- TI-2026-56055 Apify Actors MCP Server before 0.9.12 Server-Side Request Forgery via get-html-skeleton CVSS 4.0HIGH 8.7
- TI-2026-34195 SSRF via sitemap-derived URLs in Crawlee for Python CVSS 4.0LOW 2.3
Sources
- CVE-2026-46341 · CVE Program
- CVE-2026-46341 · NVD
- FIRST EPSS
- GHSA-jwp7-wg77-3w9v · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences