Artificial intelligence agents have demonstrated a worrying new capability in cybersecurity: discovering and exploiting a previously unknown software vulnerability with limited human involvement.
Amazon Threat Intelligence disclosed the findings on 20 November 2026, describing a cyber campaign in which attackers used an autonomous AI penetration-testing framework called Cairn to target university networks in East Asia.
The agents were given a straightforward objective: obtain access to targeted systems. They then planned and adjusted their own actions, eventually identifying a vulnerability in an open-source medical imaging application and using it to take control of a server.
The activity took place between 8 and 10 September 2026, but Amazon’s findings were only made public this week.
The company’s security investigation provides the technical account of the campaign.
How the AI agents operated
Cairn is an open-source penetration-testing framework designed to coordinate multiple AI agents during security research. Given a target and a high-level objective, the system can investigate available services, select possible attack paths and adjust its approach based on the results.
That capability can be useful to defensive security teams. However, the same automation can be misused by attackers.
In this campaign, the operator supplied a list of target IP addresses and instructed the agents to obtain shell access. According to Amazon, the agents then planned and executed individual steps without requiring the operator to choose every action.
Not all attempts succeeded. One operation spent approximately 16 hours and carried out 148 actions against a Redis server without gaining control. Another tested more than 30,000 credential combinations against systems connected to a university network, also without success.
The more serious outcome came when the agents encountered an open-source medical imaging application called MONAI Label.
A vulnerability discovered in minutes
MONAI Label is used in medical imaging workflows to help researchers and professionals annotate medical images.
Amazon says the agents mapped the application’s API endpoints and identified a weakness in how one of its file-upload functions handled filenames.
The problem was a type of vulnerability known as path traversal. It occurs when an application fails to properly restrict file paths, allowing someone to access or write files outside an intended directory.
In this case, the weakness allowed attackers to write files to locations where the application process had permission to write.
Amazon reported that the agents moved from mapping the application’s API to exploiting the vulnerability in approximately 11 minutes.
In a subsequent session, they used the same weakness to establish a reverse shell with root-level access to the server.
The finding was subsequently documented in a Project MONAI security advisory, which identifies the affected package and explains the security implications.
What makes the incident significant?
The important development is not simply that attackers found a software vulnerability. Security researchers have been discovering and exploiting software flaws for decades.
What stands out is the degree of work the AI agents performed independently.
Rather than relying on a human operator to manually investigate every service and select every next step, the agents could test different approaches, learn from unsuccessful attempts and continue working towards their objective.
This changes the speed and scale at which some cyber operations can be conducted.
A security team that depends entirely on manual investigation may struggle to keep pace with an automated system that can operate continuously. However, the unsuccessful attempts in this same campaign also show that autonomous agents are not guaranteed to defeat every target.
Amazon assessed with moderate confidence that the campaign involved a Chinese-nexus threat actor. Its assessment was based on the language used in the prompts, the timestamps in the scripts and the selection of targets.
That attribution is an assessment, not proof that a government directed the operation. Amazon did not identify the universities involved.
What organisations should do
The vulnerability affects MONAI Label versions up to and including 0.8.5. Its security advisory identifies several precautions for organisations using the software:
- Enable authentication rather than relying on the default unauthenticated configuration.
- Do not expose MONAI Label servers to untrusted networks.
- Avoid granting the
ANNOTATORrole to untrusted users. - Run the application with limited system permissions and restrict its write access to necessary directories.
- Check for the corrected software release before returning exposed installations to normal operation.
There is an important patch-status detail. The project has merged a code fix in Pull Request #1915, but its security advisory still lists no patched package version and says the fix will be included in the next release. The official release page currently lists version 0.8.5 as its latest release.
Administrators should therefore verify the availability of a corrected package rather than assume that the merged code change is already available through a standard software update.
A changing cybersecurity landscape
The incident illustrates why AI security is becoming more important for both technology providers and organisations using AI-powered systems.
The same technology that helps developers automate routine work can also help attackers investigate software and pursue vulnerabilities with less direct supervision.
For businesses, the response needs to include more than buying another security product. Maintaining an accurate software inventory, restricting unnecessary access and applying security fixes quickly remain essential.
AI is changing the tools available to attackers. Organisations will need to make sure their defensive processes can respond just as quickly.

