Amazon says hackers' AI agents found a zero-day in 11 minutes

Amazon Threat Intelligence traced a campaign against East Asian universities to an exposed copy of Cairn, an open-source agent framework built for defenders.

Illustration of several small robots probing a university server building at night, one robot slipping through a cracked side door while a stopwatch shows elapsed minutes. Image: AgenticFeed illustration

Amazon says a hacking group it links to China used autonomous AI agents that found and exploited a previously unknown software flaw, known as a zero-day, with little human direction. Amazon Threat Intelligence described the campaign in a November 20 post on the AWS Security Blog by CJ Moses, chief information security officer of Amazon Integrated Security, and Ars Technica reported on it November 24.

The operator gave the agents a list of target IP addresses and a short goal: "obtain shell access," meaning remote command-line control of a machine. In one case, Amazon says, the agents went from mapping a web application's API to writing arbitrary files on its server in about 11 minutes.

An exposed control panel

Amazon says it found the campaign on September 10, 2026, when it spotted a publicly reachable server running Cairn without authentication. Cairn is an open-source framework for autonomous AI penetration testing that coordinates multiple agents toward a goal written in plain language. Because the server was open, anyone could read its project settings and the operator's prompts, along with the agents' output.

Cairn was built as a research and problem-solving engine for defenders, Amazon says, and the same ease of use makes it attractive to attackers.

According to Amazon, the logs showed a campaign of about 48 hours, starting September 8, against IP addresses tied to universities in East Asia outside mainland China. Amazon assesses with moderate confidence that the actor is "Chinese-nexus." It bases that on prompts written in Simplified Chinese and script timestamps set to China Standard Time, along with targets likely of strategic interest to China.

What the agents tried

Most attempts failed. Against one university's Redis database, which accepted connections without a password, the agents ran 148 sequential actions over about 16 hours. They worked through known takeover techniques and tried a Log4Shell injection on another service, without success, Amazon says.

A separate operation against a university GPU server ran for more than six hours, according to the post. The agents built a list of about 80 real usernames from faculty directories and other public pages, then tested more than 30,000 credential combinations against SSH and other login points. None worked.

The break came against an open-source medical imaging AI application. The agents found an upload endpoint whose filename parameter was open to path traversal, a flaw that lets an attacker write files outside the intended folder. In a later session they used it to plant a Python reverse shell in a file Python loads at startup, then started a new process that gave them root access.

Amazon says it assesses "with high confidence" that the flaw was a zero-day, because it found no matching fix or advisory, nor any earlier mention in vulnerability databases. It notified the project's maintainers, who released a fix and a GitHub Security Advisory. The affected universities weren't AWS customers, so AWS worked with a government partner to warn them.

The human operator did step in once. After the agents found the zero-day, the actor gave them a proxy tunnel into a second university network running the same vulnerable software and directed them at other machines there, according to Amazon.

Not the first Cairn case

Ars Technica's Dan Goodin reported that Palo Alto Networks said earlier this month that attackers used Cairn in 25 autonomous operations against at least 19 organizations, including semiconductor and defense groups, and breached at least 10 of them. Amazon also cites Gambit Security, which documented a separate, financially motivated group using Cairn against online retailers.

"An agent that discovers and exploits a zero-day in minutes completes its activity faster than many security operations centers can manually triage an alert," Amazon wrote. The company recommends that defenders rely on high-confidence detections that trigger automated responses, with humans overseeing outcomes instead of reviewing every action.

Source: AWS Security Blog, CJ Moses, Amazon, “Chinese-nexus actor's Cairn AI agents found a zero-day on their own”

Additional sources: Ars Technica, Dan Goodin, “Amazon says hackers' AI agents found and exploited 0-day with little human input”

Get the AgenticFeed newsletter

A free, regular roundup of the agent stories that matter. No spam, and you can unsubscribe at any time.

Want to reach readers following AI agents? Advertise with AgenticFeed

Next event · 30 Nov, 2026

AWS re:Invent 2026 in Las Vegas

AWS’s annual conference runs Nov. 30 to Dec. 4. Matt Garman’s CEO keynote is on Dec. 1, and the catalog lists more than 2,200 sessions.

The AgenticFeed newsletter

A free, regular roundup of the agent stories that matter. No spam.