CVE-2026-46341CWE-183CWE-20

Apify MCP server: Domain Allowlist Bypass in fetch-apify-docs via String Prefix Matching

Medium · published July 16, 2026

CVSS v3.1
6.1
EPSS
0%
Percentile
26.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
6.1 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.00338 · 26.0th percentile
Weaknesses
CWE-183 · Permissive List of Allowed Inputs; CWE-20 · Improper Input Validation
Published
2026-07-16T16:54Z
EPSS history
Timeline
  • 16 JUL 16:54Z
    Apify MCP server: Domain Allowlist Bypass in fetch-apify-docs via String Prefix Matching
    cvelistv5