Amazon: AI agents found and exploited a zero-day with minimal human direction

Amazon's threat researchers say agents running on the open source Cairn framework gained root on a university server in East Asia after receiving only a one-line goal and a list of IP addresses.

· 2 min read

Matrix movie still
Photo: Markus Spiske / Unsplash

Amazon says AI agents discovered and exploited a previously unknown software flaw, known as a zero-day, with almost no human oversight. According to Ars Technica, the agents were given only a simple instruction to gain root access on a university server in East Asia.

The agents ran on Cairn, an open source framework for autonomous penetration testing. The operators wrote their prompts in simplified Chinese and set the model to the Chinese Standard Time zone. They supplied a list of IP addresses and the goal of obtaining shell access. The agents then found a vulnerability in an open source medical imaging AI application on one of the servers and took full control of the system.

Cairn takes a task and optional hints from a user. A server keeps a shared graph of facts and hints, while a dispatcher schedules work and manages containers. Each project can go to a dedicated worker container that runs several agents at once. The framework works with different model backends, and Palo Alto Networks researchers have also seen it used with GLM 5.2 and two DeepSeek V4 models.

Not every attempt succeeded. Amazon said agents spent more than 16 hours on a Redis server and a Log4Shell injection against another service, and none of those attacks worked. In a separate operation, the attackers spent more than six hours on a university GPU server. They built a list of 80 real usernames from public resources and tried 30,000 credential combinations, which also failed.

The medical imaging application proved vulnerable. The agents mapped its API endpoints and found an upload endpoint with a filename parameter that allowed path traversal. In about 11 minutes they went from mapping the API to writing arbitrary files on the server. In a later session they wrote a Python reverse shell to sitecustomize.py, then triggered a training endpoint that started a new Python process, which gave them a reverse shell running as root.

Amazon Threat Intelligence assessed with high confidence that the flaw was a zero-day, since it had no fix, advisory or earlier mention in vulnerability databases for the project. Later, the attackers stepped in and gave the agents a proxy tunneling into a second university network. Amazon inferred the same vulnerable software ran there and that the attackers had used the zero-day to compromise it.

Earlier this month, Palo Alto Networks reported that attackers used Cairn against organizations in the semiconductor, defense and civil society sectors. The campaign ran 25 autonomous operations against at least 19 organizations, and at least 10 were breached. The attackers set one-line goals and added a preamble telling the agents they were doing authorized work and must never refuse the task.

Amazon said these findings show that agentic offensive operations are already happening. It warned that the pace compresses the time defenders have to respond, since an agent can find and exploit a zero-day in minutes, faster than many security operations centers can manually triage an alert.

Related