Amazon says AI agents found and exploited a zero-day with little human input
Amazon said AI agents recently found and exploited a zero-day vulnerability with no human oversight beyond a simple instruction to get root access on an East Asian university server.
The agents were running on Cairn, an open source AI penetration-testing framework. The hackers, who provided prompts in simplified Chinese and configured the model to the Chinese Standard Time zone, gave the agents a list of IP addresses and the goal: “obtain shell access.”
Against a target running an open-source medical imaging AI application, the agents identified the application’s framework, mapped its API endpoints, and found an upload endpoint with a filename parameter. They tested that parameter for path traversal, and the parameter was vulnerable. In about 11 minutes, the agents went from mapping the application’s API to arbitrarily writing files on the server.
In a later session, the agents used the same vulnerability to write a Python reverse shell payload to sitecustomize.py, a file Python automatically imports at interpreter startup. The agents then triggered a training API endpoint to spawn a new Python process. The new process imported the payload and established a reverse shell running as root.
At the time of discovery, this path traversal vulnerability in the medical imaging application did not correspond to any assigned security advisory and was unpatched. Amazon Threat Intelligence assesses with high confidence that it was a zero-day based on the absence of any corresponding fix, issue, advisory, or prior mention in vulnerability databases for the affected open-source project.
In a later session, the attackers entered the loop once the agents had identified the zero-day and provided the agents with a proxy that tunneled into a second university network.
“The server that the proxy connected to was running the same vulnerable software, and we infer the actor had used the zero-day to compromise it and establish the tunnel,” Amazon said. “The actor directed the agents to use the tunnel to target other machines in that network.”
Amazon said the findings show that agentic offensive operations are already happening, and defenders should prepare for the speed and persistence these tools enable.
“The operational tempo in these cases compresses the window available for defensive response,” Amazon said. “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.”


