CVE-2026-46341: apify-mcp-server · Improper Input Validation
Affects apify-mcp-serverSource CVE Database V5
Not known to be exploited · CVSS 6.1 Medium : upgrade to 0.9.21 when convenient.
Data as of 29 Nov 2026, 18:37 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 19% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 0.9.21
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 16 Jul 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Nov 2026.
What to do
Upgrade apify-mcp-server and @apify/actors-mcp-server to 0.9.21.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| apifyapify-mcp-server | Affected
| Fixed in
|
npm@apify/actors-mcp-serverpkg:npm/%40apify/actors-mcp-serverOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade apify-mcp-server to version 0.9.21 or later, where the domain validation logic is corrected to properly compare URL hostnames instead of using String.startsWith(). No other mitigation is specified. Patch status is not explicitly stated but the fix is included in version 0.9.21.
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://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.
References
- github.com/apify/apify-mcp-server/security/advisories/GHSA-jwp7-wg77-3w9v (opens in a new tab)
- github.com/apify/apify-mcp-server/pull/781 (opens in a new tab)
- github.com/apify/apify-mcp-server/commit/e39bdee530da1db0b3b3d3713558b33c9608e629 (opens in a new tab)
- github.com/apify/apify-mcp-server/releases/tag/v0.9.21 (opens in a new tab)