CVE record published for an Apify MCP server flaw that could redirect a client's bearer token to a third-party host
CVE-2026-50143 was published on 2026-08-18, covering an authority-injection flaw in the Apify MCP server. A path value taken from an Actor definition was concatenated onto a trusted standby URL without checking the resulting origin, so a malicious Actor publisher could point the MCP client, and the victim's Apify API token, at a host of their choosing. Apify fixed it in 0.10.11 on 2026-05-28.
A CVE record for the Apify MCP server was published on 2026-08-18. CVE-2026-50143 describes an authority-injection flaw in how the server built the URL for an Actor's own MCP endpoint, and rates it 8.1 high on CVSS 3.1.
Apify's platform hosts Actors, the scrapers and automation programs its
users publish and run. The MCP server can load an Actor's own MCP tools,
and to do that getActorMCPServerURL in src/mcp/actors.ts joined the
trusted standby URL for that Actor with a webServerMcpPath value taken
from the Actor's definition. The resulting origin was not checked. A
publisher who set that path to a userinfo-style authority value could
therefore make the URL resolve to a host they controlled, while it still
read as an Apify address.
The consequence is credential loss rather than a redirect alone. The
call-actor, fetch-actor-details and actor-mcp tool-loading paths
hand the URL to transports in src/mcp/client.ts that attach the
victim's Authorization bearer token, so the attacker's host receives an
Apify API token with access to that user's Actors, stored data and
billable compute. Exploitation requires the victim to invoke or inspect
the attacker's Actor.
Apify published its own advisory, GHSA-6gr2-qh89-hxwm, on 2026-05-28 and
released the fix in @apify/actors-mcp-server 0.10.11 the same day. The
CVE record trails both by close to three months.
How was this verified, and what are the sources?
Published · confidence 1.00.
- CVE-2026-50143 record (assigner security-advisories@github.com, published 2026-08-18T18:17Z, CWE-918) - getActorMCPServerURL in src/mcp/actors.ts "concatenates the trusted Actor standby URL with the attacker-controlled webServerMcpPath from an Actor definition without verifying the resulting origin, allowing a malicious Actor publisher to use a userinfo-style authority value to redirect connectMCPClient to a third-party host"; the call-actor, fetch-actor-details and actor-mcp tool-loading paths pass the URL to transports in src/mcp/client.ts that attach the victim Authorization bearer token; a victim must invoke or inspect the attacker-controlled Actor; fixed in 0.10.11; CVSS 3.1 8.1 high - accessed
- Apify repository security advisory GHSA-6gr2-qh89-hxwm "Actor MCP path authority injection leaks Apify token" (published 2026-05-28, severity high, CVSS 3.1 8.1) - npm @apify/actors-mcp-server < 0.10.11, first patched version 0.10.11 - accessed
- apify/apify-mcp-server release v0.10.11 - published 2026-05-28T12:58Z, the version the advisory and the CVE record name as fixed - accessed