Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @apify/actors-mcp-server
  4. ›
  5. CVE-2026-46341

CVE-2026-46341: Apify Model Context Protocol (MCP) server: Domain Allowlist Bypass in fetch-apify-docs via String Prefix Matching

May 19, 2026

The fetch-apify-docs tool validates URLs against a domain allowlist using String.startsWith() instead of proper URL hostname comparison. This allows bypass via attacker-controlled subdomains (e.g., https://docs.apify.com.evil.com/), enabling the tool to fetch and return arbitrary web content to the LLM.

References

  • github.com/advisories/GHSA-jwp7-wg77-3w9v
  • github.com/apify/apify-mcp-server/security/advisories/GHSA-jwp7-wg77-3w9v
  • nvd.nist.gov/vuln/detail/CVE-2026-46341

Code Behaviors & Features

Detect and mitigate CVE-2026-46341 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.9.21

Fixed versions

  • 0.9.21

Solution

Upgrade to version 0.9.21 or above.

Impact 6.1 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-183: Permissive List of Allowed Inputs
  • CWE-20: Improper Input Validation

Source file

npm/@apify/actors-mcp-server/CVE-2026-46341.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:35 +0000.