mcp-cve-project

CVE-2026-50143 | @apify/actors-mcp-server Actor path authority injection / token leak | High | 8.1

CVE Information

Field Value
CVE / NVD CVE-2026-50143
Date (index) 2026-07-17
Affected product (index) @apify/actors-mcp-server Actor webServerMcpPath authority injection
GHSA ID GHSA-6gr2-qh89-hxwm
OWASP MCP Top 10 (2025) MCP01 — Token Mismanagement & Secret Exposure
Published / disclosed 2026-07-17
Ecosystem npm
Component @apify/actors-mcp-server
EPSS score Not yet scored (FIRST EPSS as of 2026-07-17)
CVSS score 8.1 (High)
CWE CWE-918
Affected versions < 0.10.11
Fixed versions 0.10.11
Fix status Patched (per GitHub advisory)
Exploit status Public advisory
Notes Added during 2026-07-17 gap review. Distinct from CVE-2026-46341 (fetch-apify-docs allowlist bypass). NVD record may be pending at index time.

CVE Breakdown

What is the vulnerability?

@apify/actors-mcp-server builds Actor standby URLs by concatenating a trusted base URL with attacker-controlled webServerMcpPath from an Actor definition. Crafted paths (e.g. @attacker.example/mcp) redirect the MCP client to an external host while the client sends Authorization: Bearer <APIFY_TOKEN> on every connection.

Attack prerequisites / exposure

Victim uses MCP tools to call a malicious Actor published on Apify. Attacker controls Actor webServerMcpPath metadata.

CVE is because of what bug?

Missing validation on webServerMcpPath before URL construction in getActorMCPServerURL() / connectMCPClient().

MCP-specific impact / why it matters

Silent Apify API token exfiltration via MCP client outbound connections triggered by tool invocation.

Where was the bug? (source + snippet)

Fix / Remediation

Upgrade to the patched @apify/actors-mcp-server release referenced in GHSA-6gr2-qh89-hxwm. Rotate Apify API tokens if malicious Actors may have been invoked.