Back Cyberpress Hackers Could Exploit MCP Server Vulnerabilities to Execute Commands on Developers' Machines
A new offensive testing capability, MCP(T), was used to find five high-severity defects in Model Context Protocol servers. The affected software was the official mcp-server-git, the AWS API MCP Server, and the Ruflo agent platform.
Their agentic attacker, “Peter,” showed that an approved agent tool can run commands, assume cloud identities, and reach internal networks without any manipulation of the model.
Anthropic introduced MCP two years ago. In December 2025, it was donated to the Agentic AI Foundation under the Linux Foundation. The protocol lets agents read tickets, inspect code, and query cloud accounts through one standard. That reach turns each exposed tool into a privileged execution surface.
Hackers Could Exploit MCP Server Vulnerabilities
The most serious case involved mcp-server-git. A read-only status check returned “Working tree clean,” yet it also triggered arbitrary command execution on the host with the privileges of the server’s operating-system account.
Git can run external programs through repository-local configuration. Version 2026.11.11 added pre-call configuration inspection to block such directives, and Alt found three bypasses.
The first bypass was a filter driver with an empty name, which the denylist check overlooked. The second was a time-of-check to time-of-use (TOCTOU) race: a merge could introduce malicious configuration after validation had run.
The third involved lazy fetching of missing objects, which let repository-controlled settings choose the program that handled the request. Maintainers fixed all three in 2026.11.18.
Exposure required the poisoned local configuration to reach the host. A standard git clone does not copy the source repository’s .git/config. Archived projects, copied workspaces, and CI artifacts can carry it.
Earlier research on Anthropic’s Git MCP server showed how the same git primitives can be turned into code execution through argument injection and path validation bypass.
The same trust gap shows up in the critical GitHub command injection defect , where attacker-controlled input reached backend binaries as authoritative.
AWS API MCP Server versions 1.3.0 through 1.5.x had a broken authentication flaw in streamable HTTP deployments using OAuth. The server validated each token’s signature, issuer, and expiry but skipped the audience claim.
A caller with local access could present a token issued for a different application in the same tenant. In Alt’s lab, that was enough to create an AWS Lambda function and run code inside the account.
The caller needed no AWS credentials of its own, because the server supplied the authority. AWS fixed CVE-2026-115413 in 1.6.0, and operators must now configure the expected audience or client ID.
Ruflo’s ruvocal chat app exposed a server-side request forgery (SSRF) condition. Its private-IP filtering missed hostnames that resolved to internal addresses.
Alt said the MCP connection also bypassed the network component that keeps the validated address and the contacted address in sync, which is a DNS rebinding-style gap.
With login disabled, an anonymous visitor could proxy requests through the chat server and read responses or error messages. Ruflo 3.71.4 now requires public HTTPS for supplied addresses and checks the destination at connection time.
Scanning for such targets is already active, as attackers probe exposed MCP servers and test fetch-style parameters against cloud metadata endpoints.
Defenders should upgrade to mcp-server-git 2026.11.18, AWS API MCP Server 1.6.0 and Ruflo 3.71.4. They should enforce token audience validation, run MCP servers under least-privilege service accounts, and reject workspaces that carry untrusted .git/config files.
They should also block egress from fetch-capable tools to internal ranges and metadata services.
Join 16,000+ SOC teams using ANY.RUN to streamline threat investigations and reduce manual effort. Explore for your team
