Cairn AI Framework Powers Autonomous Zero‑Day Exploits Against Universities and a Medical Imaging Application
What Happened — Amazon’s threat‑intelligence team observed a Chinese‑nexus actor running Cairn, an open‑source AI‑driven penetration‑testing framework, from a publicly exposed server on 10 September 2026. The operator left the instance unauthenticated, allowing anyone to view the AI prompts, configuration, and output. Over a 48‑hour window the autonomous agents targeted IP ranges belonging to universities in East Asia (outside mainland China).
The agents performed a relentless, fully automated attack chain: they probed for mis‑configured services, attempted credential‑spraying on SSH, PostgreSQL, and VPN endpoints, exploited a Redis instance without a password, tried Log4Shell on a neighboring service, and leveraged an SSRF flaw in a Qdrant server to enumerate internal hosts. Most attempts failed, but the agents kept iterating for up to 16 hours without human intervention.
Success arrived against an open‑source medical‑imaging AI application running on a university GPU server. The agents mapped the application’s API, identified an upload endpoint, and discovered a path‑traversal‑style file‑write vulnerability. Within 11 minutes they escalated from API discovery to arbitrary file write. They then dropped a Python reverse shell into sitecustomize.py, a module automatically loaded on interpreter start‑up, and triggered a training endpoint that executed the payload, yielding a root shell on the host.
After confirming the exploit worked, the human operator supplied the agents with a proxy tunnel into a second university network that also ran the vulnerable software, directing the AI to pivot and establish footholds there as well. Amazon judges the exploit a genuine zero‑day—no prior advisory, patch, or public discussion existed.
The project’s maintainers were notified; a fix and security advisory were issued shortly thereafter. The affected universities were not AWS customers, so Amazon routed the warning through a government partner rather than contacting them directly. Separate research by Gambit Security shows the same Cairn framework has also been weaponised by financially motivated actors against online retailers, indicating the technique is not confined to espionage.
Amazon’s own honeypot and traffic‑analysis tooling automatically flagged the anomalous activity at no extra cost, underscoring the value of continuous, high‑confidence detection. The report concludes that defenders must prioritize rapid, automated detection and response, with human analysts overseeing outcomes rather than manually reviewing each step.
Why It Matters for Trust & Control Assurance — The incident tests an organization’s incident detection and response controls; fast, automated alerts are essential to keep pace with AI‑driven exploit chains.
Who Is Affected — Higher‑education institutions, research labs, and developers of open‑source AI‑enabled medical‑imaging tools.
Recommended Actions
- Harden all exposed services (e.g., enforce authentication on Redis, Qdrant, PostgreSQL, SSH) and enforce least‑privilege network segmentation.
- Integrate AI‑aware detection signatures into SIEMs and automate containment playbooks for rapid response.
- Establish a formal vulnerability disclosure and patch‑management process for open‑source components used in critical AI workloads.
Source: SecurityAffairs article
Technical Notes
- Attack vector: Autonomous AI agents exploiting a zero‑day file‑write vulnerability in an open‑source medical‑imaging application.
- Tools: Cairn AI framework (open‑source), custom Python reverse shell, proxy tunnelling.
- Vulnerabilities: Unauthenticated file‑write via path traversal; no CVE assigned yet (zero‑day).
- Indicators: Public Cairn instance timestamps (CST), Chinese‑language prompts, 148 distinct actions across services, 30 000+ credential attempts.
Source: SecurityAffairs article