{"id":"CVE-2026-46341","aliases":["GHSA-jwp7-wg77-3w9v"],"url":"https://o3.security/vulnerability/CVE-2026-46341","summary":"Apify MCP server: Domain Allowlist Bypass in fetch-apify-docs via String Prefix Matching","details":"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.","published":"2026-07-16T16:54:01.843Z","modified":"2026-08-12T03:51:10.221681733Z","cvss":{"score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},"epss":{"score":0.00191,"percentile":0.09011,"asOf":"2026-08-13"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"@apify/actors-mcp-server","fixedVersion":"0.9.21"}],"fix":{"url":"https://github.com/apify/apify-mcp-server/commit/e39bdee530da1db0b3b3d3713558b33c9608e629","label":"apify/apify-mcp-server@e39bdee"},"references":[{"type":"WEB","url":"https://github.com/apify/apify-mcp-server/releases/tag/v0.9.21"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46341.json"},{"type":"ADVISORY","url":"https://github.com/apify/apify-mcp-server/security/advisories/GHSA-jwp7-wg77-3w9v"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46341"},{"type":"FIX","url":"https://github.com/apify/apify-mcp-server/commit/e39bdee530da1db0b3b3d3713558b33c9608e629"},{"type":"FIX","url":"https://github.com/apify/apify-mcp-server/pull/781"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:10.221681733Z"}}