Amazon says it caught an AI agent zero-day in the wild: an attacker pointed an open-source tool called Cairn at university servers, and its agents found and exploited an unknown flaw on their own. The target was a medical imaging app, and the agents ended up with root access. Amazon published the findings on November 20, and the story spread widely this week.
If you run self-hosted AI or admin tools with authentication switched off, the practical takeaway is simple: check them today.
Here’s the story at a glance:
- Reported by Amazon Threat Intelligence on the AWS Security Blog, November 20, 2026
- Activity ran for about 48 hours starting September 8, 2026
- The tool was Cairn, an open-source AI penetration-testing framework
- The flaw was a path traversal bug in a medical imaging app, with no CVE
- Amazon assesses the actor as Chinese-nexus, with moderate confidence
The headline is about AI, but the weak points were old ones.
What the AI agent zero-day looked like in practice
Cairn lets someone describe a goal in plain language and have several AI agents work toward it. According to Amazon’s report, it was built for defenders, but that ease of use appeals to attackers too.
On September 10, Amazon found a publicly hosted Cairn instance running with no authentication. Its history was visible: configurations, prompts and agent output. The operator had fed it IP addresses tied to universities in East Asia, outside mainland China, plus variations of the goal “obtain shell access.”
The agents chose their own steps from there. Nobody handed them an exploit.
Three attempts, one success: how Cairn got root
Amazon described three operations. Two failed, which says something about how stubborn the agents were.
| Target | What the agents did | Result |
|---|---|---|
| Redis instance | About 148 sequential actions over roughly 16 hours: known takeover techniques, Log4Shell injection and credential sprays | Failed |
| University GPU server | Over 6 hours, built a list of about 80 real usernames and tried more than 30,000 credential combinations | Failed |
| Medical imaging app | Found a path traversal flaw in an upload endpoint, reached arbitrary file writes in about 11 minutes, then planted a Python reverse shell | Root shell |
In a later session, the operator took over and gave the agents a proxy into a second university network. Amazon infers the zero-day was used to compromise a server there, but that part is inference, not something it observed directly.
Amazon’s defensive advice is blunt: agents act faster than people can triage. It recommends automating responses to high-confidence detections and keeping humans overseeing outcomes.
The MONAI Label flaw: who should check their servers
Amazon’s report links to a GitHub security advisory for MONAI Label, an open-source medical imaging annotation tool. The advisory (GHSA-qc22-rmgc-vg94) says an upload endpoint uses an unchecked value as the image ID, so a crafted request can write files anywhere the process can write.
These are the details and workarounds the advisory lists:
- Affected: the
monailabelpackage up to and including 0.8.5 - Severity: critical, with no CVE assigned
- Authentication is off by default, so any client that can reach the server can exploit it
- Workarounds: enable authentication, keep the server off untrusted networks, and run it as an unprivileged user limited to its datastore folder
That default is what turns a file-write bug into root access.
There’s one discrepancy worth knowing. Amazon says the maintainers released a fix, but the advisory lists no patched version and says the fix (PR #1915) will ship in the next release. Check the project’s releases before assuming you’re covered, and rely on the workarounds until then.
What’s confirmed, what’s assessed and what nobody knows
Amazon separates what it saw from what it concluded, and the difference matters for how much weight to give each claim.
| Claim | Status |
|---|---|
| Cairn server was exposed without authentication | Observed by Amazon |
| Root reverse shell on the medical imaging app | Observed by Amazon |
| The flaw was a zero-day | Assessed, high confidence |
| The actor is Chinese-nexus | Assessed, moderate confidence (Chinese-language prompts, China Standard Time stamps, targeting) |
| The zero-day was used on a second university | Inferred |
| Which AI models powered the agents | Not stated |
Gizmodo’s coverage uses the phrase “mostly autonomously.” That fits the exploit discovery, but humans still chose the targets and took over later sessions, so it isn’t a fully hands-off attack.
How to lock down your own servers this week
None of this needs new tools. It means closing the easy openings an agent would try first.
- Turn on authentication for every self-hosted AI, annotation or admin tool, and keep them off the public internet.
- Run services as unprivileged users that can only write to the folders they need.
- Add rate limits, lockouts and MFA so credential guessing fails fast.
- Alert on unexpected file writes and outbound reverse-shell connections.
- Search logs for the two IP addresses Amazon listed, 142[.]4.98.145 and 142[.]4.107.34, around September 8 to 10.
Apart from the detection advice, this is standard hardening and not an Amazon checklist.
Speed is the other lesson. Our write-up of the N-central zero-day exploited within hours shows how little patch time defenders get, and the Shirudo Linux explainer covers one approach to shielding servers you can’t patch right away.
Frequently Asked Questions
What is Cairn?
Cairn is an open-source framework that coordinates AI agents to carry out penetration tests from a plain-language goal. It was built for defenders, and Amazon says attackers have also adopted it.
Did an AI really find the zero-day by itself?
According to Amazon, the agents found and exploited the path traversal flaw after being given a goal and target addresses. Humans picked the targets and took over later sessions.
Is there a patch or a CVE?
There’s no known CVE. The GitHub advisory lists versions up to 0.8.5 as affected and says the fix will arrive in the next release.
Am I at risk if I don’t use MONAI Label?
Not from this flaw. But the pattern, an internet-facing tool with authentication off, applies to far more software than this one app.
Don’t panic about AI hackers, and do fix your defaults. The agents here failed against a hardened Redis box and a GPU server, and they only won where authentication was off and a critical bug sat on the open internet. Close those doors first, then worry about what’s next.


Leave a Reply