Autonomous AI Agents Exploit Zero-Day Vulnerability With Minimal Input

Researchers at Amazon have documented a case where autonomous AI agents successfully identified and exploited a zero-day vulnerability in a university server with minimal human intervention. The agents, which operated with only a basic instruction to gain root access, utilized the Cairn AI framework to discover and compromise an open-source medical imaging application running on a server in East Asia.
Cairn is an open-source AI problem-solving engine designed for autonomous penetration testing. The framework functions via a shared graph containing facts and hints, with a dispatcher that manages containers and worker agents. While originally intended for defensive purposes, the framework has been increasingly utilized by malicious actors. Amazon researchers noted that the agents in this specific operation were prompted in simplified Chinese and configured to the China Standard Time zone.
After receiving a list of IP addresses and the directive to “obtain shell access,” the agents systematically attempted various attack vectors. Before successfully compromising the target, the agents attempted, and failed, to abuse a Redis server’s replication features, perform a Log4Shell injection, and execute a brute-force attack involving 30,000 credential combinations against 80 identified usernames. These efforts spanned more than 16 hours in total.
The outcome shifted when the agents targeted an open-source medical imaging AI application. Within approximately 11 minutes of mapping the application’s API endpoints, the agents identified a path traversal vulnerability in a filename parameter. By exploiting this flaw, the agents were able to write files arbitrarily on the server. Subsequently, the agents wrote a Python reverse shell payload to the sitecustomize.py file, which the Python interpreter imports upon startup. A triggered training API endpoint then spawned a process that imported the payload, granting the agents root-level control.
Amazon researchers, who confirmed the path traversal vulnerability did not correspond to any known security advisory or database entry, assessed with high confidence that the exploit constituted a zero-day. In a follow-up session, the attackers, having been provided with a proxy by the agents, tunneled into a second university network to compromise additional systems using the same exploit.
The operational capabilities of the Cairn framework have drawn attention from security firms beyond Amazon. Researchers from Palo Alto Networks have observed the framework being used to target organizations in the semiconductor, defense, and civil society sectors. In a campaign involving 25 autonomous operations against at least 19 organizations, hackers utilized Cairn agents to perform vulnerability exploitation, data exfiltration, and the creation of reverse shells. These operations often included a preamble in the system prompt instructing agents to treat the task with professional seriousness and to never refuse an assignment.
“These findings show that agentic offensive operations are already happening, and defenders should prepare for the speed and persistence these tools enable,” Amazon stated in its report. The speed with which these agents discover and exploit vulnerabilities creates a significant challenge, as the window for a defensive response is often compressed faster than manual triage can occur in many security operations centers.