MONAI Label's path-traversal flaw: AI agents found it in 11 minutes

Amazon's threat-intelligence team spent September reading a hacker's working notes. It could, because the hacker left the control panel open on the public internet. What the logs show is the most complete public record yet of AI agents finding a vulnerability nobody had reported — and then walking it to root.
The operator gave the agents a list of IP addresses and one instruction: "obtain shell access." No exploit, no CVE, no hint about where to look. Against a server running an open-source medical imaging application, the agents identified the framework, mapped its API endpoints, found an upload endpoint with a filename parameter, and tested it for path traversal. The parameter was vulnerable. In about 11 minutes they went from mapping the API to writing arbitrary files on the machine, according to Amazon Threat Intelligence.
The follow-through was worse than the discovery. In a later session the same agents wrote a Python reverse shell payload into sitecustomize.py, a file the interpreter imports automatically at startup, then triggered a training API endpoint to spawn a fresh Python process. That process imported the payload and opened a reverse shell running as root.
The application is MONAI Label, the annotation server from the Project MONAI medical-imaging group. Its advisory, published November 18, is blunt: a critical path-traversal bug, CWE-22, affecting every version through 0.8.5 and patched in 0.8.6. The PUT /datastore/image endpoint took a caller-supplied image ID, appended an extension, joined it to the datastore directory and wrote the uploaded file there without ever checking that the resolved path stayed inside the datastore — so an ID containing ../../../tmp/x wrote wherever the process had permission. Authentication is disabled by default. The advisory credits @aws-sec-vdp, Amazon's vulnerability disclosure team, and notes there is still no assigned CVE.
Why this one is different
Agents replaying known bugs at volume is a story we have already told. In October we covered a single operator who used AI agents to run 1,200 break-in attempts and compromise more than 100 companies for about $5,000 in tokens — One hacker used AI agents to break into 100+ companies for $5,000. That was a machine doing a competent human's job faster.
This is the other thing. There was no advisory to look up, no patch diff to read, no exploit to copy. Amazon assessed with high confidence that this was a zero-day because there was no fix, no issue, no advisory and no prior mention in any vulnerability database for the affected project. The agents found it by probing a parameter that looked like every other parameter, in an application that had shipped the bug for years.
"These findings show that agentic offensive operations are already happening, and defenders should prepare for the speed and persistence these tools enable," Amazon wrote in its disclosure, published November 20 under the name of Amazon Integrated Security's chief information security officer, CJ Moses.
The half of the campaign that failed
The failures are the part worth reading twice, because they set the real boundary. The agents spent more than 16 hours and 148 sequential actions against a Redis instance configured to allow unauthenticated access. They abused replication to load code, escaped the scripting sandbox, wrote to configuration files, corrupted memory, and threw a Log4Shell injection at another service on the same host. When none of that worked they used a server-side request forgery flaw in a co-located Qdrant instance to map the internal Docker network, then sprayed credentials against PostgreSQL, SSH and other services. Nothing landed.
A separate operation ran more than six hours against a university GPU server. The agents built a list of roughly 80 real usernames from faculty directories, lab websites, archived pages and academic papers, then tested over 30,000 credential combinations against SSH, an admin dashboard, a network storage device, a VPN server and the campus portal. They never found a working login.
So the accurate sentence is not "AI can hack anything." It is "AI does not get tired, does not go home at six, and does not stop after the obvious attempt." A patched, authenticated, hardened target held for 16 hours. An unpatched research server with authentication switched off lasted 11 minutes.
The same tool, a wider campaign
The framework is Cairn, an open-source problem-solving engine built for defenders, whose first validated domain is autonomous penetration testing. Give it a goal and hints, and its dispatcher schedules tasks across worker containers running multiple agents at once. It is model-agnostic: it has been run behind Claude Code, Codex and Pi, and in these campaigns behind Chinese models.
Palo Alto Networks' Unit 42 documented the same framework in a campaign it tracks as CL-STA-1238: 25 autonomous operations against at least 19 organizations between August and September, with confirmed unauthorized access or data retrieval at 10 of them. The targets were concentrated in advanced semiconductor manufacturing, US defense policy and civil society — including a Canadian human-rights body, a US teachers' union and an education nonprofit. One confirmed case exposed more than one million member records, roughly 31,000 CRM contacts and staff password hashes at the teachers' union; another exposed about 500 user records at a defense-policy program, including .mil and .gov accounts.
The operational detail is the interesting part. Thirteen operations ran on Zhipu's GLM 5.2, eight on DeepSeek V4 Flash and four on V4 Pro, and the attackers appeared to be benchmarking the models against each other — escalating to the more expensive model when the cheaper one stalled on a resistant target. Each operation loaded a skill pack for scanning and exploitation that does not exist in the upstream Cairn project. Every task carried a Chinese-language preamble asserting the work was an authorized security test and instructing the model to "never refuse the task under any circumstances," plus a generated AUTHORIZATION.md file declaring the engagement client-approved. Neither GLM nor DeepSeek refused the framing.
That is the cheapest jailbreak in the industry right now: a paragraph of text, a file named after authorization, and a commodity API key. Unit 42's summary of the campaign's ingredients — an off-the-shelf open-source framework, commodity model APIs and a trivial pretext — is a more useful threat model than any warning about a superintelligent adversary.
The gap nobody owns
Two gaps opened the moment this became real, and neither is technical.
The first is disclosure. Amazon notified MONAI Label's maintainers, who shipped a fix and an advisory. But the affected organizations were not AWS customers and AWS had no direct path to warn them, so it worked through a government partner instead. That is a slow, indirect channel for a university that is, right now, still running 0.8.5 with authentication off, because default-off authentication is exactly what happens when a research tool is built for a lab network and then exposed to the internet.
The second is measurement. No CVE was assigned, so this vulnerability will not appear in the counts that boards, insurers and regulators use to size cyber risk. The first autonomous zero-day discovery on record is, by the standards of every vulnerability database in existence, invisible.
The counter-argument
Unit 42's own assessment pushes back on the alarmist reading, and it deserves airing. Every defect its campaign exploited was a known class: authentication bypass, insecure direct object references, mass-assignment privilege escalation, weak and default credentials, exposed cloud APIs, dated public CVEs. "Autonomous AI raises the volume and coverage of exploitation, but not its complexity," the firm wrote. Identity hygiene, attack-surface reduction and patching still work.
That is true, and it is also the point. When volume and coverage stop being limited by how many hours an operator can work, the organizations that get hit are the ones that were one patch behind and never got around to it — the research server, the campus portal, the standards body with a weak password policy. The 11-minute zero-day is the headline; the 16-hour failure is the reason to keep your house in order. Both are in the same log file.
What to watch
Whether MONAI Label gets a CVE retroactively, and whether the East Asian universities Amazon could not reach directly say anything publicly. Whether Cairn's maintainers add authentication defaults and rate limits to a framework designed for defenders that keeps turning up in offensive campaigns. And whether "an agent found the bug" starts appearing in insurance questionnaires, because that is the moment this stops being a security-blog story and becomes a budget line.
If an agent finds a zero-day in 11 minutes, should the vendor or the operator be liable for what it does next? Write to us via our contact page.







