AI Agents Found a Zero-Day in Eleven Minutes. The Fix Still Hasn't Shipped.
Amazon says an attacker's AI agents were told to get shell access and found an unknown flaw in a medical imaging tool on their own. The maintainers merged a fix on October 19. A month later, the version you get from PyPI is still the vulnerable one.
11 minfrom mapping the API to writing files anywhere on the server, per Amazon
The operator’s instruction to the agents was “obtain shell access,” plus a list of IP addresses. Nobody told them what software was running or where to look for a bug. On one server, about eleven minutes after they started mapping its API, they were writing files anywhere on the disk.
Amazon Threat Intelligence published the case on November 20. The attacker was running Cairn, an open-source framework that coordinates AI agents for penetration testing, against universities in East Asia outside mainland China. The campaign ran for about 48 hours starting September 8.
Amazon could see all of it because the operator left the Cairn server on the public internet with no authentication. The project settings, the prompts and the agents’ output were readable by anyone who found it. Amazon found it on September 10.
The flaw they found
The application was MONAI Label, an open-source tool that research teams use to label medical scans and train imaging models. Amazon’s post doesn’t name it in the text, but it links to the project’s advisory.
Amazon says the agents identified the framework, mapped its API and found an upload endpoint that takes a filename parameter. They tested it for path traversal and it worked. In a later session they used the same flaw to write a reverse shell into sitecustomize.py, a file Python imports every time it starts. Then they called the training endpoint, which started a new Python process. That process loaded the file and connected back as root.
The maintainers’ advisory confirms the bug. PUT /datastore/image takes an image value from the caller and uses it as the file’s ID without checking it. The code never confirms the final path is inside the datastore, so a value like ../../../tmp/x writes the upload wherever the server process can write. The label upload endpoint builds its path the same way.
The detail that matters most for exposure is this one, in the advisory’s words: “Authentication is disabled by default.” Out of the box, anyone who can reach the server over the network can use the bug. With authentication turned on, the lowest useful role, ANNOTATOR, is enough.
It’s now CVE-2026-133968, and NVD lists it at 9.8. The GitHub advisory page still showed “No known CVE” when I read it today, so if you search by one identifier you may not find the other.
What the agents couldn’t do
Most of the campaign failed, and Amazon is specific about it.
- A Redis server at one university. It accepted connections with no password. The agents spent about 16 hours and 148 actions on known techniques for taking over an open Redis instance, and none worked. They tried Log4Shell against another service on the same machine. They did use a request forgery flaw in a neighboring Qdrant database to map the internal Docker network, then sprayed credentials at PostgreSQL, SSH and other services. Nothing got in.
- A university GPU server. The agents built a list of about 80 real usernames from faculty directories, lab pages and papers. Over more than six hours they tried more than 30,000 username and password combinations against SSH, a VPN server, a storage device, an admin dashboard and the campus portal. They never found a working login.
So the agents spent 22 hours failing against systems that had ordinary controls and known attack paths, and eleven minutes succeeding against a research tool that shipped with authentication off. I don’t read that as the agents being brilliant. They were willing to read an API nobody had audited, and they tried the obvious thing.
That matches what I’ve seen on campus and lab networks for years. The production systems get reviewed. The tool a research group installed on a GPU box to get a paper out does not, and it’s often listening on every interface.
What’s Amazon’s assessment and what isn’t confirmed
- Zero-day. Amazon assesses this “with high confidence,” because it found no fix, issue, advisory or database entry for the flaw at the time. That’s a reasonable basis. It is still an assessment.
- Attribution. Amazon says China-nexus with moderate confidence. The basis is prompts in Simplified Chinese, script timestamps set to China Standard Time, and the choice of targets.
- A second university. The operator later gave the agents a proxy into a second university’s network, through a server running the same software. Amazon writes “we infer” the operator had used the zero-day to get that foothold. Some coverage states it as fact.
- The whole account is Amazon’s reconstruction from what the exposed server held. No victim has been named and nobody else has published the records. Amazon says it notified the universities through a government partner.
Nothing in the sources says patient data or a clinical system was involved, and I’m not suggesting it.
The fix was merged a month ago and never released
Amazon reported the flaw to the project. The fix is pull request 1915, opened October 12 and merged October 19. It resolves each destination path and rejects anything outside the datastore, and the image endpoint now strips the ID to its base name.
The advisory went up on November 18. Its “Patched versions” field says “None,” and the text says the fix “will be included in the next MONAI Label release.”
I checked PyPI today. The newest monailabel is 0.8.5, uploaded November 25, 2024. That’s the version the advisory lists as affected. If you run pip install monailabel right now, you get the vulnerable code, with the bug public, the exploit method described by Amazon, and a CVE on record.
I’m not blaming the maintainers. The fix was merged less than six weeks after Amazon found the campaign, and release engineering on a small research project is real work. But a merged pull request doesn’t protect anyone who installs from a package index, and that’s nearly everyone.
If you run MONAI Label
The advisory’s workarounds, until a release exists:
- Turn on authentication. Set
MONAI_LABEL_AUTH_ENABLE=True, and don’t give theANNOTATORrole to anyone you don’t trust. - Keep it off untrusted networks. On a campus, that includes the general campus network.
- Don’t run it as root. Use an unprivileged account that can only write to the datastore directory. The root shell in Amazon’s account existed because the server process was root.
I’d add two. Look for a sitecustomize.py you didn’t create in the Python environment the server uses. And if you need the fix now, you can install from the project’s GitHub repository, where it’s merged. You’d be running unreleased code, so test it first.
If you don’t
Find the research and internal tools on your network that were installed once and never looked at again. Check which of them listen on the network with no login. That list is what a framework like Cairn works through, and it doesn’t get bored.
When a vendor or project tells you a flaw is fixed, ask which released version has the fix. For this one, as of today, none does.
David Cooper, CCIE #14019
I build Sigvara, a reputation and bonding layer for AI agents that has its own token, so weigh my read accordingly. Educational, not financial or legal advice. Views are my own.
Sources
- Chinese-nexus actor’s Cairn AI agents found a zero-day on their own, AWS Security Blog, November 20, 2026
- Path traversal in datastore upload endpoints allows arbitrary file write, MONAI Label advisory GHSA-qc22-rmgc-vg94, November 18, 2026
- MONAI Label pull request 1915, merged October 19, 2026
- CVE-2026-133968, NVD
- monailabel on PyPI, checked November 21, 2026: latest release 0.8.5, uploaded November 25, 2024