Notes on Mittwald's MCP server postmortem: a shell injection, valid tokens and logs that left with the container
VeritasChain Standards Organization (VSO) · 28 November 2026 We keep a public registry of AI incidents, each checked against primary sources. Today's monitoring brief listed three items. We recorded one, with correction
VeritasChain Standards Organization (VSO) · 28 November 2026
We keep a public registry of AI incidents, each checked against primary sources. Today's monitoring brief listed three items. We recorded one, with corrections (V1104MITTWALD), put one on hold and marked one as already recorded. This post covers the recorded one, because Mittwald's postmortem is specific about something most incident write-ups skip: which logs existed, which did not, and how the timeline was rebuilt.
What happened, per Mittwald
Mittwald is a German hosting provider. It ran an MCP server so customers could connect AI assistants to mStudio, its control panel.
- Delegated access. To act for a user, the MCP server held that user's OAuth tokens in a session store.
- Root cause. A tool that generated SSH keys built a shell command from its inputs. A crafted input ran commands in the server's container: shell injection, so remote code execution in that container.
- Timeline. First test on 21 October. Deliberate use from 27 October. Detected on 4 November, eight days after the first targeted access.
- Tokens. Several thousand taken from the session store, including those of Mittwald employees. Most had expired. A few hundred were valid.
- After that. With valid tokens the attacker worked through the regular API. Mittwald describes short-lived containers, started with those rights, collecting files.
- Scope. Everyone who used the MCP server was affected, plus the projects their accounts could reach, even where the owners never used the server. 56 projects, where the attacker demonstrably acted, are classified as compromised.
- How it was built. Mittwald says the server was largely built with AI coding agents, as a deliberate decision. Its review practice and guardrails for agent-written code were not yet adequate, and no static analysis was set up for the project. It also says people make the same error.
- Second phase. From 9 November. On 12 November the attacker uploaded a web shell to mittwald.de through an unauthenticated file upload flaw in Flow, the framework beneath Neos. Neos advisory GHSA-7wrr-qcrp-4hhf and fixed releases followed on 13 November.
Mittwald assumes the attacker used AI tools, from the speed and parallelism of the steps in its logs. It names no tool or model.
The logging detail
This is the part worth slowing down for.
- The MCP server ran as a separate project in Mittwald's own container hosting. It was not connected to the usual logging and SIEM systems.
- On 2 November a routine deployment recreated the container. Traces inside it were lost. Container-side traces exist only from that day on.
- Mittwald reconstructed the earlier period from mStudio's event store and from API and project logs.
The brief we checked summarised this as "the audit records of the early attack were lost". That is half right. One source was lost. The account survived, because other systems had recorded the same activity from the outside.
Two engineering points follow, neither of them new, both easy to forget:
- Anything that lives only inside an ephemeral container has the container's lifetime. Nobody has to delete it.
- Reconstruction worked because the records were held by components the attacker's shell did not reach.
A valid token is not an authorisation
The attacker's API calls carried valid tokens. A log of those calls shows which token was presented. It does not show who controlled it.
VSO develops VAP, a metaframework for making records of AI decisions auditable and attributable after the fact. Here is where VAP v1.2 stands on this point.
What v1.2 has:
- A signature binds a record to a key (INT-005, §6.1.2; a SHOULD in v1.2).
- The Accountability Layer can carry a delegation chain with scope and validity period (§4.4.3).
What v1.2 does not have:
- A definition of "attributable" beyond verification under a supplied key. That is F11 in the CHANGE-002 preparation register. Nothing in that register is adopted.
Records of agent access under delegated authority are the subject of DAP, listed in the specification as a v0.1.0 Working Draft (§4.6.2). Working Drafts are for discussion, not for conformance claims.
Where completeness stops
VAP's Completeness Invariant (INT-008) makes omission after anchoring detectable, at anchor granularity. It does not reveal an event that never entered an anchored batch. That absence shows only against another record that implies the event (Appendix A, Omission-evidence). An event no system recorded is a pre-measurement drop, a structural limit.
Mittwald's reconstruction is the same idea without any framework: the API-side records implied what the container no longer held.
One more gap. INT-008 refers to a batch's "declared scope" without defining it. v1.2 gives no way to state in advance that a component was reachable but not instrumented. That is candidate P2, also unadopted.
The brief's five test scenarios
The brief proposed adding five scenarios to conformance testing for VAP's completeness property. Our assessment:
- Fits as written: a verifier must not declare completeness when evidence is missing. Completeness is verifiable only at anchor time and batch granularity (§4.1.2, scope note).
- Fits in a narrower form: "continuity across container recreation" is not a VAP property. v1.2 does require an anchor gap longer than twice the anchoring interval to be recorded as an error-class event (INT-007). That can be tested.
- Do not fit: identifying operations after credential theft, verifying operations that bypass the MCP server, and cross-user permission boundary violations. These are detection and access control. VAP has no monitoring, intervention or override capability (§4.4.4).
No test has been added. The specification is unchanged.
Not recorded
- SAP. SAP confirms suspicious activity and says it has so far found no evidence of unauthorised access to customer business data. Token theft, source-code changes and any use of AI rest on Der Spiegel's unnamed sources. On hold, which is not a finding that the reporting is false.
- CSIRT Italia bulletin BL01/261123/CSIRT-ITA. Already in the registry as V1123CSIRTITA.
What VAP would not have done
- Find or fix the shell injection, or review or scan the code.
- Isolate the container, shorten or revoke tokens, or refuse a valid token.
- Detect the intrusion while it happened.
- Restore traces lost when the container was recreated, or recover actions nobody recorded.
- Establish whether the attacker used AI, or who the attacker was.
From the spec, conformance:
"does not warrant the correctness, fairness, or safety of the underlying AI decisions — only the integrity, completeness (at anchor granularity), and attributability of their records." (VAP v1.2 §1.6(c))
Who or what wrote, reviewed and released a piece of software is a question for supply-chain provenance tooling (signed commits, SLSA, Sigstore), not for VAP v1.2.
Disclosure
Latest published count, dated 25 October 2026: zero external implementations of VAP or any profile, and zero Evidence Packs accepted in any proceeding. A previously published paid-contract figure was withdrawn on 24 October 2026; the withdrawal does not establish a count of zero, and no contract, customer or revenue figure is asserted. VAP v1.2.0 is a Draft Specification with no standing in any established standards body. VSO is operated by VeritasChain Co., Ltd. This post was prepared with Claude, made by Anthropic. In what we reviewed, Mittwald does not name the coding agents it used, and we do not know whether an Anthropic product was among them. Registry records are first-party reviews, not independent verification.
Sources
- Mittwald, postmortem (25 Nov 2026, German): https://www.mittwald.de/blog/mittwald/postmortem-wie-ein-angreifer-ueber-unseren-mcp-server-und-neos-eindrang
- Mittwald, first account (7 Nov 2026, German): https://www.mittwald.de/blog/mittwald/sicherheitsvorfall-am-mcp-server
- Neos project, advisory GHSA-7wrr-qcrp-4hhf (13 Nov 2026): https://www.neos.io/blog/2026/security-advisory-critical-remote-code-execution-vulnerabilities-in-flow-and-neos.html
- webhosting.today (9 Nov 2026): https://webhosting.today/2026/11/09/mittwald-traces-a-breach-of-56-customer-projects-to-its-mcp-server/
- BleepingComputer on SAP (27 Nov 2026): https://www.bleepingcomputer.com/news/security/sap-confirms-security-incident-after-suspicious-github-activity/
- VSO registry: https://veritaschain.org/incidents/
- Registry change, vcp-site PR #310: https://github.com/veritaschain/vcp-site/pull/310
- VAP v1.2 (§1.3, §1.6, §4.1.2, §4.4.3, §4.4.4, §4.6.2, §6.1.2, INT-005, INT-007, INT-008, Appendix A): https://github.com/veritaschain/vap-spec/blob/main/spec/v1.2/VAP_Framework_Specification.md
- CHANGE-002 preparation register (P2, F11; nothing adopted): https://github.com/veritaschain/vap-spec/blob/main/proposals/CHANGE-002-CANDIDATES.md
Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.