Daily cloud and web hosting news coverage by HostingDiscussion.com

CloudFest Americas 2026

A hosting company explains how its AI-built server was breached

A hosting company built a convenient feature, let AI coding agents write most of it, and then lost thousands of customer and staff access tokens through one careless tool. German host Mittwald published a postmortem about the breach three weeks after it spotted the attack. The story carries a lesson that reaches well beyond Germany.

The feature was an MCP server, which let customers manage hosting through AI assistants. One tool created SSH keys, and the text typed into two of its fields went straight into a command line. An attacker could therefore slip in commands. According to Mittwald, the tool also deleted each private key right after making it, so the keys were useless and the code did nothing valuable.

On October 27 the attacker used the weakness to reach the server’s container and read stored tokens, including those of Mittwald employees. Most had expired by the time the thief tried them, but several hundred still worked. The company revoked everything on November 4.

Mittwald says AI agents wrote most of the server by design, because it wanted early experience with them. It concedes that review rules for agent-written code were immature and that no automated check flagged the mistake. People make this error too, it adds, and a careful review should have caught it. Binding review rules now cover agent-written code.

The damage spread in two phases. First, short-lived containers collected keys, configuration files and database dumps, mostly from Mittwald’s own projects. Mittwald found attacker activity in 56 projects. It also says the intruder did not reach internal infrastructure with the stolen credentials. Second, from November 9 the attacker used hosting accounts that were compromised through other routes, including an old WordPress plugin flaw. Then came a previously unknown hole in Neos, the CMS behind mittwald.de. Through it, the attacker uploaded a script and read the site’s configuration and database. Mittwald took the site offline and reported the flaw to Neos.

Neos rated the flaw critical, scoring 9.8, and patched several Flow versions on November 13. Updating won’t delete files already uploaded, and versions 8.2 and older get no fix, so owners should block script execution under Web/_Resources.

The MCP server stays offline. When it returns, it will have a read-only file system, shorter-lived tokens and tighter network limits.

Share this post

Web Hosting News

Fresh takes, great finds and engaging stories on the cloud and web hosting industry. Send us a news tip.

Related Stories

Most Viewed

Supporters

Dedicated Servers

Enterprise Dedicated Servers - Intel/AMD EPYC & RYZEN - 100% Uptime 24/7 Support

Save 37% Off Plesk License

Official Plesk Partner, Instant License Delivery, No Contract Commitment. Grab Your Savings NOW!

Up to 30% Off on KVM VPS

Significant discounts on KVM VPS SSD. Worldwide Locations. Full Root Access. Instant Deployment.

.CA Domain for only C$10.99

Get a .CA domain, with domain privacy, full DNS record control, domain forwarding, excellent support.

Web Design and SEO

Premium professional WordPress sites that will not break your wallet. Optimized for SEO to drive traffic.

Interviews

Members Recently Online