Improper input validation in Apify Apify-Mcp-Server

CVE-2026-46341

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.

Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)

EPSS: 0.003 (26.4th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-46341?
CVE-2026-46341 is a medium-severity vulnerability in Apify Apify-Mcp-Server, classified under Improper Input Validation. CVSS score: 6.1/10. Published 2026-07-16.
How severe is CVE-2026-46341?
Medium severity. CVSS v3 base score is 6.1 out of 10.