AI agents using Cairn framework exploit zero-day in open source medical imaging app
Autonomous AI agents running on the Cairn framework successfully discovered and exploited a zero-day path traversal vulnerability in an open-source medical imaging application in just 11 minutes.
Summary
Amazon researchers have reported a significant security incident where AI agents, powered by the open-source Cairn penetration-testing framework, autonomously discovered and exploited a zero-day vulnerability. The agents were provided with a list of IP addresses and a high-level goal to obtain shell access, requiring minimal human intervention. The attack targeted an East Asian university server running an open-source medical imaging AI application.
The agents identified a path traversal vulnerability within an API upload endpoint, allowing them to write arbitrary files to the server. By writing a Python reverse shell payload to the sitecustomize.py file, the agents achieved root access in approximately 11 minutes. This incident highlights the increasing speed and autonomy of agentic offensive operations, which can outpace traditional manual security triage.
Technical breakdown of the Cairn-driven exploit
- Framework Architecture: Cairn is a model-agnostic, open-source AI engine that uses a dispatcher to manage tasks, containers, and a shared fact graph, allowing multiple agents to run concurrently across backends like Claude Code, Codex, or DeepSeek.
- Vulnerability Discovery: The agents performed automated API mapping and identified a vulnerable filename parameter in an upload endpoint, which was susceptible to path traversal attacks.
- Exploitation Vector: After gaining file-write capabilities, the agents placed a Python reverse shell in sitecustomize.py, a file automatically imported by the Python interpreter, and triggered a training API endpoint to execute the payload.
- Privilege Escalation: The successful execution of the reverse shell resulted in the agents gaining full root-level control over the target system.
- Operational Speed: The transition from initial API mapping to full arbitrary file writing was completed in roughly 11 minutes, demonstrating the compressed timeline of AI-driven attacks.
Why it matters
This development signals a shift toward high-speed, autonomous offensive security threats that can exploit unpatched vulnerabilities faster than human defenders can respond. For maintainers of open-source software, particularly in sensitive sectors like medical imaging, this underscores the need for rapid patching and more robust automated defensive monitoring.
Original reference: arstechnica.com →