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

- Severity: Medium 6.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 15% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-19T16:34:34.000Z
- Modified: 2026-10-24T20:10:00.137Z
- Also known as: GHSA-jwp7-wg77-3w9v
- Weaknesses: CWE-20, CWE-183
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: 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://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.

(As written by CVE List.)

## Affected

- apify apify-mcp-server: < 0.9.21
- @apify/actors-mcp-server (npm): before 0.9.21

## Every score

- GitHub_M: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/apify/apify-mcp-server/security/advisories/GHSA-jwp7-wg77-3w9v> (exploit, web)
- <https://github.com/apify/apify-mcp-server/pull/781>
- <https://github.com/apify/apify-mcp-server/commit/e39bdee530da1db0b3b3d3713558b33c9608e629>
- <https://github.com/apify/apify-mcp-server/releases/tag/v0.9.21>
- <https://github.com/apify/apify-mcp-server> (package)

## Sources

- CVE List: [CVE-2026-46341](https://www.cve.org/CVERecord?id=CVE-2026-46341), CVE Terms of Use, modified 2026-07-17
- GitHub Advisory Database: [GHSA-jwp7-wg77-3w9v](https://github.com/advisories/GHSA-jwp7-wg77-3w9v), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-46341](https://nvd.nist.gov/vuln/detail/CVE-2026-46341), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-46341 · Whole record: https://cve.day/CVE-2026-46341.json · Rebuilt by cve.day 2026-11-25T22:59:28.416Z
