CVE-2026-46341
MEDIUM 6.1CVSS 3.1Apify Model Context Protocol (MCP) server: Domain Allowlist Bypass in fetch-apify-docs via String Prefix Matching
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://docs.apify.com@evil.com/ to pass the ALLOWED_DOC_DOMAINS check and return arbitrary fetched content to the LLM. This issue is fixed in version 0.9.21.
- Published
- 16 Jul 2026
- Last modified
- 24 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-183CWE-20
- Also known as
- GHSA-jwp7-wg77-3w9v
- Sources
- NVDJSONOSV GHSA-jwp7-wg77-3w9vJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | @apify/actors-mcp-server | < 0.9.21 | 0.9.21 |
References
- https://github.com/apify/apify-mcp-server/commit/e39bdee530da1db0b3b3d3713558b33c9608e629
- 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-3w9v · WEB
- https://github.com/apify/apify-mcp-server · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 16 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 19 May 2026)