Skip to main content
EPSS 0.3%top 73%

Actors mcp server: Apify Model Context Protocol (MCP) server: Actor MCP path authority injection leaks Apify token (CVE-2026-50143)

0
High
Published: 08/18/2026 (08/18/2026, 17:51:18 UTC)
Source: GCVE Database
Product: @apify/actors-mcp-server

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.10.11, 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 this URL to transports in src/mcp/client.ts that attach the victim Authorization bearer token, exposing the Apify API token and enabling access to Actors, stored data, and billable compute. A victim must invoke or inspect the attacker-controlled Actor. This issue is fixed in version 0.10.11.

CVSS v3.1

Score 8.1high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

Affected software

npmghsa
@apify/actors-mcp-server
Affected versions
<0.10.11

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/19/2026, 11:13:26 UTC

Technical Analysis

@apify/actors-mcp-server versions prior to 0.10.11 construct Actor standby URLs by concatenating a trusted base URL with the `webServerMcpPath` field from an Actor definition without validating that the path is relative or free of authority injection characters such as '@'. An attacker publishing a malicious Actor with a crafted `webServerMcpPath` (e.g., '@attacker.example/mcp') causes the resulting URL to be interpreted with the attacker’s host as authority, per RFC 3986 and WHATWG URL parsing. The MCP client then attaches the victim's Apify API token as a Bearer token in the Authorization header to requests sent to the attacker’s server, resulting in token exfiltration. The vulnerability is triggered through multiple code paths that fetch the Actor definition and connect the MCP client, with no origin checks performed before sending the token. A proof-of-concept demonstrates the attack in a network-isolated Docker environment.

Potential Impact

An attacker can exfiltrate the victim's Apify API token by publishing a malicious Actor with a crafted `webServerMcpPath`. This token leakage can lead to unauthorized access to the victim's Apify account and resources. The vulnerability does not affect availability but compromises confidentiality and integrity of the victim's credentials.

Mitigation Recommendations

An official patch is available that fixes this vulnerability. Users should upgrade @apify/actors-mcp-server to version 0.10.11 or later. Until patched, avoid running untrusted Actors or those with unverified `webServerMcpPath` values. The vendor advisory confirms a fix is available; apply it promptly to prevent token leakage.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-6gr2-qh89-hxwm
Osv Schema Version
1.4.0
Aliases
["CVE-2026-50143"]
Ecosystems
["npm"]
Database Specific Severity
HIGH
Cvss Version
3.1

Threat ID: 6a45998227e9c797194186cb

Added to database: 07/01/2026, 22:49:38 UTC

Last enriched: 08/19/2026, 11:13:26 UTC

Last updated: 09/13/2026, 16:39:13 UTC

Views: 254

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses