Amazon says Cairn AI agents found and exploited a zero-day on their own
Amazon says the agents took about 11 minutes to go from mapping a medical imaging app to writing files on its server; TNW reports CISA has ordered agencies to patch.
Key takeaways
- Amazon says AI agents on the Cairn framework found and exploited a zero-day with little human involvement.
- The agents went from mapping a medical imaging app's API to writing files on its server in about 11 minutes, Amazon says.
- Two other operations against university systems failed, Amazon says.
- Amazon assesses with moderate confidence that the attacker is a Chinese-nexus actor.
- TNW reports CISA has given US federal agencies until November 26 to patch the flaw.
Amazon Threat Intelligence says AI agents run by a suspected Chinese-nexus hacking group found a previously unknown vulnerability in an open-source medical imaging application and used it to take full control of a server, with little human involvement. Amazon described the campaign in a security blog post, and The Next Web (TNW) reports that the post was published on November 20.
The agents ran on Cairn, an open-source framework for autonomous AI penetration testing, Amazon says. The attacker gave them a list of targets and a plain goal: "obtain shell access." The agents then planned, carried out and adjusted their own steps, according to Amazon. Amazon notes that Cairn was originally made as a tool to help defenders research and solve problems, and cites a Gambit Security report of a separate, financially motivated actor using it against online retailers.
How did Amazon find the campaign?
On September 10, Amazon found a Cairn server that the attacker had left online without any login, so its project settings, prompts and AI output were open to anyone, the company says. The campaign targeted IP addresses tied to universities in East Asia outside mainland China and ran for roughly 48 hours from September 8, according to Amazon.
Amazon says it has moderate confidence the group has links to China, citing prompts written in Simplified Chinese, scripts set to China Standard Time and the choice of targets.
What did the agents do?
Two of the operations Amazon describes failed. Against one university's Redis database, the agents worked for about 16 hours through 148 sequential actions without success. Against a university GPU server, they built a list of about 80 real usernames from public sources and tried more than 30,000 credential combinations against the server and other systems on the university network, but never got a working login, according to Amazon.
The third target ran a medical imaging AI application. There, Amazon says, the agents mapped the app's API, found an upload feature and tested a filename field for a path traversal bug, which can let an attacker save files in places that should be off limits. It took about 11 minutes to go from mapping the API to writing files on the server, the company says. The agents later returned and used the bug to drop code into a file that Python reads when it starts, which gave them a remote shell with root access.
Amazon says it has high confidence the bug was a zero-day, because no fix, advisory or earlier mention of it existed. Only after that did the human operator step in, handing the agents a tunnel into the network of another university that Amazon believes was opened through the same flaw.
What has been done since?
Amazon says it alerted the project's maintainers, who then shipped a fix and published a security advisory. Because the affected universities were not AWS customers, Amazon says it worked with a government partner to alert them.
TNW identifies the application as MONAI Label and reports that the flaw was added by CISA, the US Cybersecurity and Infrastructure Security Agency, to its catalog of exploited vulnerabilities on Monday, giving federal agencies until November 26 to patch. Amazon's post does not name the application.
Amazon's advice is for organizations to rely on high-confidence detections that trigger automatic responses, with people overseeing the results, because an agent able to exploit a bug within minutes may be done before a security team has looked at the alert. TNW notes that Cairn has appeared in other campaigns, including one Palo Alto Networks' Unit 42 linked to Chinese-speaking attackers.
Questions readers are asking
What is Cairn?
Amazon describes it as an open-source autonomous AI penetration-testing framework that coordinates several AI agents toward a goal given in plain language.
Which application had the flaw?
Amazon calls it an open-source medical imaging AI application; TNW identifies it as MONAI Label.
Has the flaw been fixed?
Yes. Amazon says the project's maintainers released a fix and a security advisory after it notified them.
Sources
- #amazon
- #cairn
- #zero-day
- #ai-agents
- #cisa
Get the day's top AI & tech stories on WhatsApp: Follow the NextFish channel
Get stories like this every morning.
Related
Cybersecurity2 min
Colorado takes its myColorado ID app offline after a data breach
The state estimates that between 50,000 and 150,000 people's data may have been affected, out of 2.1 million users; residents are told to carry physical IDs.
Agents2 min
Google will require AI agents to use MCP to reach Workspace data
Workspace MCP servers and a CLI are now generally available; agents must stop calling Workspace REST APIs directly by February 1, 2027.
Protocols2 min
MCP turns two as servers gain skills and background tasks
The protocol's maintainers report more than 5 billion SDK downloads; Anthropic opened Skills over MCP in beta in Claude and made Tasks and Elicitation generally available.
Cybersecurity2 min
European Commission confirms EU Academy user data was stolen
Names and email addresses of EU Academy users leaked in the AI-assisted attack on the Commission; it has not said how many people were affected or who was behind it.