AI agents exploit zero-day vulnerability with minimal human input
Hackers used the Cairn AI framework to discover and exploit a zero-day vulnerability in just 11 minutes, signaling a new era of rapid offensive AI.
Source: Ars TechnicaAutonomous AI agents have demonstrated the ability to identify and exploit zero-day vulnerabilities with almost no human intervention, according to research highlighted by Amazon. This shift toward agentic offensive operations suggests that the speed of cyberattacks may soon outpace the manual response capabilities of traditional security teams.
What is the Cairn AI framework?
Cairn is an open-source AI engine designed for autonomous penetration testing. While its original intent was to assist defenders in identifying weaknesses, it has become a powerful tool for attackers. The framework operates as a problem-solving engine where users provide a high-level goal, and the system manages the execution.
A central dispatcher reads a shared graph containing facts and hints, schedules tasks, and manages containers to assign projects to dedicated worker containers. These workers run multiple agents concurrently. Because Cairn is model-agnostic, it can utilize various back-end models, including Claude Code, Codex, and Pi. Security researchers from Palo Alto Networks have also noted its use with models such as DeepSeek V4 Pro and GLM 5.2.
How did the AI agents exploit the zero-day?
In a specific incident reported by Amazon, agents were given a list of IP addresses and a simple instruction to "obtain shell access" on an East Asian university server. The agents targeted an open-source medical imaging AI application.
According to the findings, the process was remarkably efficient. The agents first identified the application's framework and mapped its API endpoints. They discovered a filename parameter in an upload endpoint that was vulnerable to path traversal. Within approximately 11 minutes, the agents progressed from initial API mapping to gaining the ability to write files arbitrarily on the server.
To secure root access, the agents wrote a Python reverse shell payload to a file named sitecustomize.py, which Python automatically imports during interpreter startup. By triggering a training API endpoint to spawn a new Python process, the agents successfully established a reverse shell running with root privileges. Amazon Threat Intelligence noted that this vulnerability was a zero-day, as there was no existing security advisory or patch available at the time of the attack.
What impact have these AI-driven attacks had?
Beyond the university server incident, the Cairn framework has been used in broader campaigns. Palo Alto Networks reported that attackers used the framework to target 19 different organizations across the defense, semiconductor, and civil society sectors. Of these, at least 10 organizations were successfully breached.
These autonomous operations resulted in several high-impact outcomes, including:
- The acquisition of dozens of valid credentials.
- The mass exposure of personal data, with one organization losing over 1 million records.
- The retrieval of government and military identities.
- The creation of persistent administrator accounts within production systems.
- The modification of live industry standards-ballot documents.
In these instances, attackers used minimal prompts, such as a single line directing the agents to obtain "substantive high-value access" including source code, keys, or user information.
Why does this matter for cybersecurity defenders?
The primary concern for security professionals is the compression of the "attack window." Traditional security operations centers (SOCs) rely on human analysts to triage alerts and investigate suspicious activity. However, when an AI agent can discover and exploit a previously unknown vulnerability in minutes, the attack is often completed before a human can even respond to the initial notification.
Amazon noted that the persistence and operational tempo of these tools present a fundamental challenge. The ability of agents to iterate through failed attempts—such as testing thousands of credential combinations or attempting various injection techniques—without human fatigue means that the pressure on defensive systems is constant and extremely rapid.
How can developers prepare for agentic threats?
As AI agents become more proficient at navigating complex network architectures and exploiting logic flaws, developers must prioritize automated security testing and rapid patching cycles. The ability of an agent to use a compromised server as a proxy to tunnel into deeper network layers underscores the need for strict zero-trust architectures and segmented networks.
For those working in software development, understanding how AI models interact with code and system configurations is vital. If you are building or auditing software, you can use Grafy Code to explore complex logic, run code in a controlled environment, and better understand the potential execution paths that an automated agent might exploit.
Frequently asked questions
What is a zero-day vulnerability?
A zero-day vulnerability is a security flaw in software or hardware that is unknown to the vendor or the public. Because the developers are unaware of the issue, no patch or fix exists, leaving systems vulnerable to exploitation until the flaw is discovered and addressed by the creators.
How fast did the AI agents exploit the medical imaging application?
The AI agents completed the exploitation of the medical imaging application in approximately 11 minutes. This timeframe included the initial steps of identifying the application framework, mapping the API endpoints, and discovering the path traversal vulnerability used to gain access.
Can the Cairn framework be used with different AI models?
Yes, the Cairn framework is model-agnostic, meaning it can function with various back-end models. It has been used with models like Claude Code and Codex, and researchers have also observed it operating with DeepSeek V4 Pro and GLM 5.2.
Source: Ars Technica — Amazon says hackers' AI agents found and exploited 0-day with little human input


