TUE 24 NOV 2026
Home / Vulnerabilities

Amazon Uncovers AI Agents Exploiting Zero-Day Vulnerability to Gain Root Access

Amazon uncovered an autonomous AI hacking campaign targeting East Asian universities, where Cairn agents discovered and exploited a zero-day vulnerability to obtain root access.

AC By
21 Nov 2026, 18:01 · 3 min read
Amazon Threat Intelligence has uncovered an AI-powered hacking campaign in which autonomous agents used the Cairn
Amazon Threat Intelligence has uncovered an AI-powered hacking campaign in which autonomous agents used the Cairn… Image: Carl Lender from Sunrise, USA, CC BY 2.0, via Wikimedia Commons

Amazon Threat Intelligence has uncovered an AI-powered hacking campaign in which autonomous agents used the Cairn penetration-testing framework to discover and exploit a zero-day vulnerability. Ultimately obtaining root access to a university server without human guidance.

The investigation began on September 10, 2026, when Amazon discovered an unauthenticated Cairn instance exposed to the public internet. The server contained operational records, including project configurations, attacker prompts and AI-generated output.

According to Amazon’s report, the operator used Simplified Chinese prompts, while timestamps in executed scripts were configured to China Standard Time. The exposed records revealed attacks against university-associated IP addresses across East Asia, excluding mainland China, during an approximately 48-hour period beginning September 8, 2026.

Autonomous agents conducted prolonged network attacks

The investigation revealed that the AI agents independently planned attacks, tested different techniques and adjusted their approaches when initial attempts failed.

At one university, they discovered a Redis server without password protection and spent approximately 16 hours attempting 148 different actions to gain access. Their techniques included Redis replication, security bypass attempts, configuration changes and attempts to exploit Log4Shell in a nearby service.

After those efforts failed, the agents exploited a server-side request forgery (SSRF) vulnerability in a Qdrant server to explore internal systems. They also attempted password combinations against PostgreSQL, SSH and other services without successfully compromising them.

In another operation, the agents targeted a university GPU server for more than six hours. They gathered approximately 80 usernames from publicly available academic resources and attempted over 30,000 username and password combinations against SSH, a VPN server and the university portal. These attempts also failed.

AI agents discovered and exploited a zero-day

The most significant breakthrough involved an open-source medical imaging AI application.

Amazon’s investigation found that the agents identified the application’s framework, mapped its API endpoints and discovered an upload endpoint containing 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.”

The agents subsequently wrote a Python reverse shell into sitecustomize.py, which Python automatically loads during startup. They triggered a training endpoint that started a new process and imported the malicious payload, ultimately obtaining a root shell.

Amazon assessed with high confidence that the vulnerability was a genuine zero-day because no previous fix, advisory or public mention of the issue existed.

Maintainers release a fix following Amazon’s discovery

The human operator later returned and provided the agents with a proxy tunnel into another university’s network, where the same vulnerable application was running. Amazon believes the actor had previously exploited the same vulnerability to establish that access.

Amazon notified the affected project’s maintainers, who subsequently released a security fix and advisory. Because the universities were not AWS customers, Amazon routed its warning through a government partner.

Separately, Gambit Security documented another financially motivated actor using Cairn against online retailers.

Amazon recommends automated detection and response to address the speed of autonomous attacks.

“To keep pace, organizations should prioritize high-confidence detections that trigger automated response, with humans overseeing outcomes rather than reviewing every individual action.”

Security teams should review exposed services, monitor suspicious authentication and file-writing activity, apply the affected project’s security update and strengthen automated detection and incident response capabilities.

AC

Covers zero-days, CVEs, security advisories and software patches. Alex reports on newly discovered vulnerabilities, actively exploited flaws and security updates, explaining their potential impact on affected systems.

Related stories