hello@faustagency.com +421 948 30 50 50

Cybersecurity / AI and development

An AI agent found a flaw in 11 minutes and the attacker gained access to a server. The fix has no released version yet

Amazon researchers documented a case in which an attacker gave autonomous agents a simple goal: gain access to a server. An agent found a previously unknown flaw in the MONAI Label application and exploited it. For administrators, an unpleasant detail matters too: the fix exists in the code, but according to the security advisory, no fixed version of the package has been released yet.

Faust Agency editorial team Published 5 min read
Illustrative AI agent probing the protective boundary of a server running a medical imaging application.
Original illustration created with AI. It does not show a real system or the course of a specific attack.

What AWS actually observed

On 20 November 2026, Amazon Threat Intelligence published an analysis of a campaign that took place from roughly 8 to 10 September. On 10 September, the researchers found a publicly accessible instance of the Cairn tool without authentication. From its history, they could see the operator's instructions and the agents' steps. The attacker gave them target addresses and the task of gaining command-line access. The targets were mainly universities in East Asia outside mainland China. Attributing the campaign to an actor with ties to China is an AWS assessment with moderate confidence, not a confirmed identity of the attacker. [1]

In one case, the agents examined the interface of the MONAI Label application, which helps label medical images for research and AI development. They found a parameter for the name of an uploaded file that the application did not check sufficiently. According to AWS, it took them about 11 minutes from mapping the interface to writing a file outside the designated folder. In a later run, they used the flaw to execute code and gained root access on one server. This is an observed attack, not a lab demonstration of possible exploitation. [1] [2]

Simplified confirmed sequence: the attacker gave a goal to the Cairn agent, the agent found a file upload flaw in MONAI Label and then gained access to the server. The diagram does not provide technical instructions for the attack.
Simplification of the AWS observation. The agent acted on its own, but a person set the goal and directed the further move into the network.

Why this case is different from the usual "AI helped a hacker"

The public description contains specific steps, times and the result. The operator did not choose each attempt manually. The agent examined interfaces on its own, adjusted its approach according to the responses and found a flaw that had no public security fix at the time. After gaining access to the first environment, the operator gave the agents a connection to a second university network. From the available records, AWS concludes that this access was also related to the same flaw; however, it labels this part as its own inference. [1]

At the same time, the story does not say that AI guarantees attackers success. On another target, the agents worked on an open Redis server for about 16 hours and performed 148 steps without success. On a university GPU server, they tried more than 30,000 combinations of login credentials, also without gaining access. What is dangerous is above all the ability to make many attempts continuously and react quickly to a weakness once found. [1]

A fix in the code is not necessarily an update you can install

The project maintainers published a security advisory on 18 November 2026. It marks MONAI Label versions up to and including 0.8.5 as vulnerable. The flaw allows a file to be written outside the designated storage; under suitable conditions, it can lead to code execution or an outage. Authentication is disabled by default. The project states that the fix has been incorporated into the code, but the "patched versions" field still says none. It is expected to appear in the next release. It would therefore be misleading to write that it is enough to install an already available fixed version. [2]

If your company does not use MONAI Label, this particular flaw does not affect it. The lesson for other web applications, however, is broader: an optional or research service can end up on the internet without adequate isolation and without login. With autonomous testing, the time between discovering a weakness and the first exploitation attempt can shrink to minutes. This is a conclusion from a specific AWS observation, not a figure for the average speed of all attacks. [1] [2]

How to check your own risk

  1. Check whether you run MONAI Label. Review your application inventory, containers and publicly accessible services. Releases up to and including 0.8.5 are vulnerable; "we have MONAI" alone is not enough; what matters is the specific MONAI Label package and its version.
  2. Restrict network access. The project maintainers recommend not exposing the server to untrusted networks. Allow access only to users and systems that need it.
  3. Enable authentication and restrict roles. The setting MONAI_LABEL_AUTH_ENABLE=True reduces the risk, but the ANNOTATOR role must not be assigned to untrusted accounts because, according to the advisory, it is sufficient for exploitation.
  4. Run the service with minimal privileges. The process should not run as root; it should only have write permission where necessary. This recommendation comes directly from the project's security advisory.
  5. Watch for the release of a fixed version and check your own logs. Update once the package is published. Until then, check for unusual file uploads, changes outside the storage and suspicious processes; if you suspect a compromise, preserve evidence and isolate the server.

What the case means for companies developing AI applications

The same security basics apply to an internal prototype and a customer product: validate inputs, prevent writing outside designated folders, set access rights and test the application from an attacker's point of view too. A security check cannot be just a sentence addressed to a chatbot: "check security". A model can point out some of the problems, but it cannot on its own confirm the actual server configuration, whether the service is reachable from the internet, the process's privileges or the quality of incident response. A person must review the results and test them in the real environment.

For operators, the most practical consequence is the shortening of reaction time. An inventory of public services, automated alerts about suspicious writes and a prepared isolation procedure are more useful than relying on someone discovering the flaw before the attacker does. The AWS record also shows that defence can succeed: several of the agents' attempts failed. [1]

Want to know what is actually exposed on your server?

Faust Agency helps map public services, check configuration and set the order of remediation. See how we approach cybersecurity for companies.

Sources and further reading

The links lead to the original announcements, reports and documentation the article is based on.

  1. aws.amazon.com/blogs/security/chinese-nexus-actors-cairn-ai-agents-found-a-zero-day-on-their-own
  2. github.com/Project-MONAI/MONAILabel/security/advisories/GHSA-qc22-rmgc-vg94
  3. bleepingcomputer.com/news/security/hackers-use-autonomous-ai-tool-cairn-to-find-zero-day-take-over-server
Faust Agency editorial team

Articles are written by the Faust Agency team, which takes care of the security, development and operation of websites, internal systems and corporate infrastructure.

More about us
Share

We will review the security and operations of your company.

Websites, internal systems, servers and recovery after an incident. Get in touch and we will agree on a concrete next step.

Discuss the security and operations of our company
Back to top of page