Mittwald agentic AI attack — Nov 2026
A security incident at mittwald involved a shell injection vulnerability in an MCP server tool, leading to unauthorized access to OAuth tokens and command.
- Reported date
- Nov 27, 2026
- Target
- mittwald
- Agent type
- Coding agent
- Agent role
- Compromised agent
The exact incident date was not established. This entry is dated by its source report.
What happened
An attacker exploited a shell injection vulnerability within an MCP (Model Context Protocol) server tool at mittwald, which had been developed using AI coding agents. The vulnerability existed in a function designed to generate SSH keys, where user-supplied parameters were insecurely passed to a shell command. By injecting malicious commands into these parameters, the attacker achieved remote code execution within the server container.
Once inside the container, the attacker accessed the session storage, which contained valid OAuth tokens for mittwald users, including employees. These tokens allowed the attacker to impersonate users, create unauthorized SSH keys and API tokens, and copy configuration data and credentials from various projects. The attacker also utilized a zero-day vulnerability in the Neos CMS to gain access to the mittwald.de website, where they uploaded a webshell to read database contents and configurations.
According to mittwald, the attacker's activities were characterized by high speed and the likely use of AI tools to automate steps. The incident occurred in two phases: the first starting on October 27, 2026, via the MCP server, and the second beginning on November 9, 2026, involving various entry points including disposable accounts and vulnerable plugins. Mittwald reported that 56 projects were confirmed to be compromised during the first phase.
In response, mittwald shut down the MCP server, revoked all compromised tokens, and isolated affected projects. They also implemented enhanced monitoring, including a new SIEM instance, and introduced stricter review rules for code generated by AI agents. Mittwald noted that while they successfully contained the breach, the incident highlighted risks associated with the rapid development pace of agentic workflows and the need for more robust security guardrails in automated environments.
Evidence in the reporting
- Incident evidence
- Ein Angreifer hat eine Lücke in einem Tool unseres MCP-Servers ausgenutzt
- Agent involvement
- Wir haben den MCP-Server zu großen Teilen mit KI-Coding-Agenten gebaut