CVE-2026-133968: AI agents found a MONAI zero-day
Cairn agents autonomously found and exploited a MONAI Label flaw. We explain CVE-2026-133968, release 0.8.6, detection and practical defence.
- AUTHOR
- Karol Rapacz / CEO Breachroad · OSCP · PNPT
- PUBLISHED
- 22 November 2026
- READING TIME
- 22 min read
- TOPIC
- AI Security
Amazon Threat Intelligence has documented a case in which AI agents running on the Cairn platform were given a high-level objective—to obtain access to selected systems—and then conducted reconnaissance, changed techniques after failures and discovered a previously unknown vulnerability in MONAI Label. On 22 November, the project released version 0.8.6, fixing the critical arbitrary-file-write flaw tracked as CVE-2026-133968 and a second traversal issue in session archive handling.
The event matters not because “AI can hack,” but because it demonstrates a shorter path from a broadly framed objective to a working attack chain. The public evidence does not show that a hospital, patient records or a clinical system were breached. Amazon analysed activity directed at IP addresses associated with East Asian universities. Preserving that scope is essential to keep a technical analysis from becoming a sensational claim.
What happened between 8 and 10 September 2026
According to AWS, a publicly accessible Cairn instance with no authentication operated from 8 to 10 September. Amazon found it on 10 September and analysed the agents’ stored tasks. The operator supplied lists of IP addresses and variations of the instruction “obtain shell access.” The agents then performed service discovery, selected techniques, evaluated responses and moved to alternative methods.
The report describes three well-documented sequences:
- for about 16 hours, an agent performed 148 sequential actions against a Redis server, including attempts to abuse replication and find a route through a co-located Qdrant service; the operation failed;
- over more than six hours, another agent built a list of roughly 80 usernames from open sources and tested more than 30,000 credential combinations across several services; this also failed;
- after identifying MONAI Label, the agents moved from API mapping to an arbitrary file write through path manipulation in about 11 minutes.
In the last case, the agent placed code that would be loaded by Python and then invoked an application training function to start a process and obtain a root shell. We do not reproduce the payload or exploitation instructions. For defenders, the important chain contains four elements: public exposure, missing authentication, a write outside the intended directory and a process running with excessive privileges.
How CVE-2026-133968 works
MONAI’s official advisory describes two datastore endpoints. PUT /datastore/image accepted a client-controlled image identifier, appended a file extension and joined the result to the datastore directory. The code did not verify that the resolved destination still remained under that directory. PUT /datastore/label had an equivalent issue because the image ID and label tag influenced the path.
The result was a write to any location accessible to the MONAI Label process account. Such a primitive may lead to:
- overwriting application code or configuration;
- adding content loaded by the operating system or interpreter;
- modifying access keys where the process account can write them;
- damaging the application and causing denial of service.
Every version up to and including 0.8.5 is affected. Authentication is disabled by default through MONAI_LABEL_AUTH_ENABLE=False, so network reachability was sufficient in the standard configuration. When authentication was enabled, a user with the ANNOTATOR role could reach the vulnerable operation. This is an important design lesson: authenticated does not mean trusted to construct filesystem paths.
Why the advisory and CVE briefly appeared inconsistent
The GitHub advisory published on 18 November pointed to the fix in pull request #1915, but its patched-version and CVE fields were not yet complete. The MONAI Label 0.8.6 release published on 22 November now identifies CVE-2026-133968, the affected range and deployable update artefacts.
This is a publication-order issue, not a technical contradiction: the patch and GHSA arrived before the final release and CVE-record synchronisation. Vulnerability teams should therefore check the advisory, release notes and current CVE record together instead of treating one field captured on disclosure day as permanent truth.
Release 0.8.6 also fixes a second path traversal
Version 0.8.6 addresses more than the datastore flaw. The PUT /session/?uncompress=true endpoint extracted tar archives without adequately validating member names, while session identifiers were also used as paths without sufficient validation. The release now rejects entries escaping the destination, links and device files; corrupt or disallowed archives return HTTP 400.
Administrators should not backport only one check from #1915 and assume the risk is closed. The safe reference point is the complete 0.8.6 release or a later version. The project provides these upgrade commands:
pip install -U monailabel==0.8.6
docker pull projectmonai/monailabel:0.8.6
Check environment compatibility before deployment: package 0.8.6 requires Python 3.11 or newer, and the official image uses Ubuntu 24.04 with Python 3.12. Pulling an image does not update a running container; deploy the new artefact and verify the version of the instance actually serving traffic.
How the incident changes the threat model for AI agents
In conventional scanning, a person selects a target, runs a tool, interprets output and decides what to try next. In the AWS case, the operator expressed an objective at a higher level while the agents maintained context for hours and adapted their plans. Many attempts failed, but a failed technique did not terminate the operation.
Three defensive parameters change:
- Iteration cost. An agent can interpret responses and test further hypotheses without continuous operator attention.
- Operating time. Long, steady sequences may look different from a short scanner burst or interactive shell.
- Technique composition. OSINT, API enumeration, authentication tests and application-specific behaviour can be connected inside a single task.
This does not demonstrate full strategic autonomy. A human chose the targets, launched the platform and supplied intent. Amazon assesses a Chinese nexus with high confidence based on simplified Chinese prompts, China Standard Time and victim selection, but does not publicly attribute the activity to a specific named group. We retain exactly that confidence level.
Who is exposed and what to do today
Priority belongs to MONAI Label 0.8.5 and older instances reachable from the Internet, a campus network, a shared research cluster or any segment containing untrusted users. System owners should follow a controlled plan.
1. Restrict access before analysis
Remove the public route or limit it to approved sources. If compromise is possible, do not immediately delete the container or disk: preserve logs, image metadata, volumes and a filesystem copy for investigation.
2. Establish the active version and configuration
Inspect the process or image actually serving traffic, not only the manifest in source control. Determine whether authentication was enabled, who held the ANNOTATOR role, which operating-system account ran the service and where it could write.
3. Deploy 0.8.6 or a later release
Build a new verified artefact, test required functions, shift traffic and prevent the old image from being redeployed. Regulated environments should retain hashes, change history and the approval record.
4. Enable authentication and least privilege
The update fixes specific bugs but does not replace access control. Enable authentication, reserve annotator privileges for trusted users and keep the server off untrusted networks. Its service account should write only to the necessary datastore and session directories.
5. Presume compromise when the old server was public
The maintainers explicitly recommend checking for unexpected file changes before returning a 0.8.5-or-older server to service if it was reachable from an untrusted network. Updating does not remove persistence created before the patch.
Threat hunting without false confidence
Amazon published two addresses associated with the observed infrastructure: 142[.]4.98.145 and 142[.]4.107.34. Those indicators can assist an investigation, but their absence does not rule out exploitation. Behavioural hunting should cover:
- requests to datastore and session endpoints containing unusual identifiers, encoded separators or long paths;
- new or modified files outside data directories written by the MONAI Label account;
- changes to Python auto-loaded modules, startup files, SSH keys and scheduled tasks;
- an application process spawning an unexpected shell, interpreter or network utility;
- invocation of training functionality without the normal user workflow;
- new outbound connections from a server that normally contacts only known repositories or data stores;
- a process running as root where the application does not require that privilege.
In containers, compare the running filesystem against the immutable image, but inspect mounted volumes and the host as well. Recreating a container is insufficient if an attacker wrote into persistent storage.
Designing defences against agentic reconnaissance
An agent does not create a magical route through properly designed boundaries. Here, success depended on a reachable service, authentication disabled by default, insufficient path validation and excessive privilege. Organisations building AI platforms should apply defence in depth:
- require authentication on first launch and bind anonymous modes to a local interface;
- normalise and resolve a path before checking that it belongs to an allowed directory;
- extract archives in isolation and reject traversal, links and special files;
- run without root and use a read-only filesystem outside designated volumes;
- restrict egress so a file write does not automatically create a command channel;
- send authorisation decisions, uploads and file-change events to an external log system;
- test APIs for hostile path handling in CI and during AI red teaming.
The same principle applies in reverse to an organisation’s own agents: model-accessible tools need minimal permissions, scope and time limits, full auditability and an emergency stop. Our guide to non-human identities for AI agents explains why agents require controlled identities of their own.
Source facts versus Breachroad conclusions
Confirmed by AWS and the MONAI project: the observed Cairn platform was public and unauthenticated; the operator supplied objectives while agents performed long action sequences; the agents found a MONAI Label traversal leading to file write and code execution; versions through 0.8.5 are affected; 0.8.6 fixes two traversal issues.
AWS assessment: the Chinese nexus is assessed with high confidence, but the publication does not name a specific established group. This is an intelligence assessment, not a judicial finding.
Not publicly confirmed: compromise of a hospital, patient records, a particular clinical environment or Cairn’s use in additional campaigns.
Breachroad conclusion: organisations need detection for slower adaptive action sequences and must limit the blast radius of one bug through least privilege. That is a defensive recommendation, not an additional fact about the observed campaign.
Sources
- AWS Security Blog: Cairn agent investigation and zero-day discovery
- MONAI Label GHSA-qc22-rmgc-vg94: technical datastore flaw advisory
- MONAI Label 0.8.6: fixes, requirements and recommendations
- CVE-2026-133968: official CVE record
What to do now
If you operate MONAI Label, isolate the vulnerable instance, preserve evidence, deploy at least 0.8.6, enable authentication and investigate changes outside the datastore. If you deploy AI agents, review their tools, identities, egress and emergency-stop mechanism.
Teams responsible for building and supervising agentic systems can begin with cybersecurity and secure-AI training. Follow it with AI red teaming to test the real architecture and permission model.
Turn current threats into decisions your team can repeat.
We design role-based cybersecurity and secure-AI training around the situations employees actually face — with safe exercises, a clear reporting path and an improvement plan.
- Scenarios matched to roles
- No collection of real passwords
- Practical follow-up plan





