CVE-2026-46341
published medium CVSS 3.1 · 6.1Apify MCP server: Domain Allowlist Bypass in fetch-apify-docs via String Prefix Matching
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| apify | — | apify-mcp-server< 0.9.21 | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.1 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| apify | apify-mcp-server | < 0.9.21 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-20 CWE-20: Improper Input Validation
- CWE-183 CWE-183: Permissive List of Allowed Inputs
References
4Provider assertions
2GitHub_M · cna
Apify MCP server: Domain Allowlist Bypass in fetch-apify-docs via String Prefix Matching
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a637b7402ec5be8f5730eb6eafe8c765e38780357862e9c7bc2ee4cb52e8f771
- Ingested
- 23 Sep 2026, 09:16:17 UTC
- Source record
- Official CVE record