A winding magenta line crosses brain-scan films on a lightbox and slips through a tear toward a columned university building.

Amazon Says Chinese-Nexus Hackers' Cairn AI Agents Found and Exploited a Zero-Day on Their Own

Amazon Threat Intelligence says AI agents running the open-source Cairn framework spent nearly a day failing against university servers, then found an unknown flaw in MONAI Label and turned it into a root shell.

By Aileron Daily9:30 am PT3 min read

Amazon Threat Intelligence reported on November 20, 2026, that a Chinese-nexus threat actor used autonomous AI agents running Cairn, an open-source penetration-testing framework, to find a zero-day in MONAI Label, an open-source medical imaging AI application, and take full control of a university server. CJ Moses, chief information security officer of Amazon Integrated Security, said the agents needed about 11 minutes to go from mapping the application's API to writing arbitrary files on the machine.

  • Framework: Cairn, which coordinates multiple AI agents toward a goal stated in plain language
  • Targets: university IP addresses in East Asia outside mainland China, over about 48 hours from September 8, 2026
  • Flaw: path traversal in MONAI Label's datastore upload endpoint, now fixed and published as a GitHub Security Advisory
  • Attribution: moderate confidence, based on Simplified Chinese prompts, China Standard Time timestamps and the choice of targets
  • Discovery: on September 10, 2026, Amazon found the operator's Cairn instance exposed online without authentication, along with its prompts and AI output

What the Cairn AI agents did

The human operator did very little. The agents received some target IP addresses plus one objective, obtain shell access, and from there they planned, acted and changed course without the operator picking each move.

At one university they went after a Redis server for about 16 hours, working through 148 sequential actions: abusing its replication feature, trying to escape its scripting sandbox, writing configuration files, corrupting memory and attempting Log4Shell on a neighboring service. When that went nowhere, they abused a server-side request forgery bug in a Qdrant instance on the same machine to chart the Docker network inside, then guessed passwords against SSH, PostgreSQL and more. Nothing worked.

A second operation spent more than six hours on a university GPU server. The agents assembled roughly 80 genuine usernames by combing staff directories, lab pages and published papers and tried more than 30,000 credential combinations, without ever finding a working login. "Neither operation succeeded, yet together they show that the agents kept adapting for nearly a full day without human direction," Moses wrote.

How the agents broke into MONAI Label

The breakthrough came against a server running MONAI Label. The agents identified the framework, mapped its API and found an upload endpoint whose filename parameter was open to path traversal. According to the project's advisory, the endpoint took a caller-supplied image ID without validation, so a path such as ../../../tmp/x could drop a file anywhere the process was allowed to write, and authentication is switched off by default.

In a later session the agents used the same hole to plant a Python reverse shell in sitecustomize.py, then called a training endpoint to start a fresh Python process, which loaded the payload and opened a shell running as root. Later the operator supplied a proxy into another university's network, routed through a server running the same vulnerable software, and pointed them at other machines inside.

Why Amazon calls it a zero-day

Amazon assesses with high confidence that the bug was previously unknown: when it was found there was no fix, issue, advisory or earlier mention in vulnerability databases. Amazon told the maintainers, who released a fix and a GitHub Security Advisory, and the fix is due in the next MONAI Label release. Until then the advisory tells operators to turn on authentication, keep the server off untrusted networks and run it as an unprivileged user. The victims were not AWS customers, so AWS used a government partner to warn them, and it declined to name the universities or their country.

Cairn in espionage and crime

Gambit Security has documented a separate, financially motivated actor using Cairn against online retailers, compromising at least 27 companies. Moses wrote that the two cases show the framework "is being adopted in both espionage and criminal operations."

The speed is the part defenders cannot match by hand. An agent that finds and exploits a zero-day in minutes "completes its activity faster than many security operations centers can manually triage an alert," Moses wrote, and the agents that failed against Redis kept going for 16 hours without breaks, sleep or working-hour limits. Amazon's advice is to rely on high-confidence detections that trigger automated responses, with people overseeing the outcomes instead of reviewing every action.

The facts

  1. Amazon Threat Intelligence reported on November 20, 2026, that a Chinese-nexus threat actor used autonomous AI agents with little human involvement, and the agents found a zero-day and used it to take full control of a server.

  2. CJ Moses, chief information security officer of Amazon Integrated Security, published the findings.

  3. The agents ran on Cairn, an open-source autonomous AI penetration-testing framework that coordinates multiple AI agents toward a goal given in plain language.

  4. On September 10, 2026, Amazon found a publicly hosted Cairn instance running without authentication, which exposed the operator's project settings, prompts and AI output.

  5. The campaign targeted IP addresses of universities in East Asia outside mainland China over about 48 hours starting September 8, 2026.

  6. Amazon assesses with moderate confidence that the actor is Chinese-nexus, based on prompts in Simplified Chinese, script timestamps set to China Standard Time and the choice of targets.

  7. The operator gave the agents a list of target IP addresses and the goal to obtain shell access, and the agents planned and adjusted their approach without the operator choosing each step.

  8. Against one university's Redis server, the agents spent about 16 hours on 148 sequential actions, including abusing replication, escaping the scripting sandbox, writing configuration files and corrupting memory, plus a Log4Shell attempt.

  9. When those failed, the agents used a server-side request forgery flaw in a co-located Qdrant instance to map the internal Docker network and sprayed credentials at PostgreSQL, SSH and other services, without success.

  10. A separate operation spent more than six hours against a university GPU server, testing over 30,000 credential combinations built from about 80 real usernames found in public sources such as faculty directories and academic papers, and never found a working login.

  11. Moses wrote that "Neither operation succeeded, yet together they show that the agents kept adapting for nearly a full day without human direction."

  12. The exploited application was MONAI Label, an open-source medical imaging AI application.

  13. The agents found an upload endpoint with a filename parameter that was open to path traversal, and in about 11 minutes went from mapping the app's API to writing arbitrary files on the server.

  14. The MONAI Label advisory says its datastore upload endpoint used a caller-supplied image ID without validation, so a path such as ../../../tmp/x could write a file anywhere the process could write.

  15. MONAI Label ships with authentication disabled by default, so any network client that can reach the server can exploit the flaw.

  16. In a later session the agents used the flaw to write a Python reverse shell into sitecustomize.py, triggered a training endpoint to start a new Python process, and got a reverse shell running as root.

  17. Amazon assesses with high confidence that the flaw was a zero-day, because it had no fix, issue, advisory or prior mention in vulnerability databases when found.

  18. In another session the human operator gave the agents a proxy tunnel into a second university network, through a server running the same vulnerable software, and directed them at other machines there.

  19. Amazon notified the maintainers, who released a fix and a GitHub Security Advisory; the fix will be included in the next MONAI Label release.

  20. The MONAI Label advisory advises enabling authentication, keeping the server off untrusted networks and running it as an unprivileged user.

  21. The victims were not AWS customers, so AWS worked with a government partner to notify them, and it declined to name the universities or their country.

  22. Gambit Security documented a separate, financially motivated actor using Cairn against online retailers, compromising at least 27 companies.

  23. Moses wrote that the cases show Cairn "is being adopted in both espionage and criminal operations."

  24. Moses said an agent that finds and exploits a zero-day in minutes "completes its activity faster than many security operations centers can manually triage an alert," and the failing agents ran for 16 hours without breaks, sleep or working-hour limits.

  25. Amazon advises defenders to prioritize high-confidence detections that trigger automated responses, with people overseeing outcomes rather than reviewing every action.

In their words

What people in AI posted about this story

Mustafa Suleyman on X

Chief executive of Microsoft AI, Microsoft

An agent found and exploited a zero-day in a medical-imaging app in ~11 minutes using a single command “obtain shell access.” Unsecured agent harnesses in the wild are a major security threat that'll only get worse. They'll probably need to be regulated in some way next year when models get dramatically better, at least until defenders can catch up.

Questions and answers

What did Amazon report about Cairn AI agents and a zero-day in November 2026?

On November 20, 2026, Amazon Threat Intelligence reported that a Chinese-nexus threat actor used autonomous AI agents running the open-source Cairn framework to find a zero-day in MONAI Label, a medical imaging AI application, and take full control of a university server with a root shell.

What is the Cairn AI penetration-testing framework?

Cairn is an open-source autonomous AI penetration-testing framework that coordinates multiple AI agents to reach a goal given in plain language. In the campaign Amazon described, the operator supplied target IP addresses and the goal to obtain shell access, and the agents planned and adjusted their own steps.

How fast did the Cairn agents exploit the MONAI Label flaw?

The Cairn agents went from mapping the MONAI Label API to writing arbitrary files on the server in about 11 minutes, using a path traversal flaw in an upload endpoint. In a later session they used the same flaw to get a Python reverse shell running as root.

Is the MONAI Label path traversal vulnerability fixed?

The MONAI Label maintainers released a fix and a GitHub Security Advisory after Amazon notified them, and the fix is due in the next MONAI Label release. The advisory tells operators to enable authentication, keep MONAI Label off untrusted networks and run it as an unprivileged user.

Who did the Cairn campaign target and how did Amazon attribute it?

The Cairn campaign targeted university IP addresses in East Asia outside mainland China over about 48 hours from September 8, 2026. Amazon assesses with moderate confidence that the actor is Chinese-nexus, based on Simplified Chinese prompts, China Standard Time timestamps and the targets chosen.

What does Amazon advise security teams to do about autonomous AI attacks?

Amazon advises security teams to prioritize high-confidence detections that trigger automated responses, with people overseeing outcomes rather than reviewing every action. CJ Moses wrote that an agent exploiting a zero-day in minutes finishes faster than many security operations centers can manually triage an alert.

More in this topic

Latest video

Working out what this means for your business?

Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.