Vulnerability management - 7 min read - 22 November 2026

The fix was merged in October. The release arrived this morning.

Amazon has described AI agents finding an unknown flaw in a medical imaging research tool and taking over a university server with it. The part that bothers me more is the five weeks between the fix being written and anyone being able to install it.

If you ran pip install --upgrade monailabel yesterday afternoon, you got version 0.8.5. That version was published in November 2024. It was also the version with a critical flaw that Amazon had publicly described the day before, and that attackers had been using since at least September.

There was a fix. It had been sitting in the project's main code branch since 19 October. It just hadn't been packaged into anything a normal user could install. A 0.8.6 finally showed up on the Python package index in the early hours of this morning. When I looked, the project's security advisory still listed no patched version and said the fix "will be included in the next MONAI Label release", so read the release notes yourself before you trust that 0.8.6 is it.

Most of the coverage has been about the AI angle, and I'll get to that. But the gap between "fixed" and "available" is the bit most organisations can actually do something about.

What MONAI Label is

MONAI Label is free, open-source software used in medical imaging research. A radiologist or a PhD student loads up scans, the software suggests outlines of organs or tumours, and the human corrects them. Those corrected outlines are then used to train better models. It runs as a small web server, usually on a machine with a decent graphics card, and usually set up by the research group that needs it.

Out of the box it doesn't ask anyone to log in.

What Amazon found

The account comes from a post by CJ Moses, Amazon's chief information security officer, published on 20 November. The Cloud Security Alliance has a useful research note that pulls the dates together. In short:

  • On 8 September, someone pointed a set of AI agents at a range of internet addresses belonging to universities in East Asia and gave them one goal: get shell access. The campaign ran for about 48 hours.
  • The agents were running on Cairn, an open-source framework for automated penetration testing. Two days later Amazon found the operator's Cairn server sitting on the internet with no password, which is how it was able to read what the agents had done.
  • On one university server the agents found MONAI Label. In Moses's words they "identified the application's framework, mapped its API endpoints, and found an upload endpoint with a filename parameter". That parameter let them write a file anywhere on the machine. About 11 minutes passed between mapping the application and having that ability.
  • They wrote a short Python file into a location that Python loads automatically whenever it starts. Then they asked the server to begin a training job, which started a fresh Python process and ran their file. The server was running as root, so that was the whole machine.
  • Amazon believes the same flaw was then used against a second university.
  • Amazon attributes the activity to a China-linked group with moderate confidence. The reports I've read say no hospital systems or patient records were reached.

Not everything worked. Another run against a different university went on for roughly 16 hours and 148 separate steps and got nowhere. The agents tried Log4Shell, which is five years old. They tried guessing passwords on a GPU server for six hours. So this isn't a story about a machine that can break into anything. It's a story about a machine that will try everything, all night, and doesn't get bored.

The five weeks

Here are the dates that matter for anyone running the software.

  • 19 October: the fix is merged into the project's main branch.
  • 18 November: the security advisory is published, rated critical, with no patched version.
  • 20 November: Amazon publishes.
  • 22 November: a new release appears on the package index.

From 19 October the repair was public. Anyone could read it, including anyone curious about what it repaired. But a research group that installed the software the usual way had nothing to upgrade to. Their vulnerability scanner, if they had one, would have compared installed version against latest version, found them equal and reported nothing.

I don't want to be hard on the maintainers. This is a volunteer-heavy research project and cutting a release is real work. But the effect on users is the same whatever the reason. We wrote about this pattern at length in our whitepaper on fixes that exist upstream and haven't reached you, and here it is again in a very pure form.

If MONAI Label is on your network

  • Find every copy. Ask the imaging and data science groups directly. It probably isn't in the IT asset register.
  • Take it off the internet today if it's reachable. A lab tool has no business answering strangers.
  • Turn on its login. The setting is MONAI_LABEL_AUTH_ENABLE=True. Be aware the advisory says a logged-in user with the lowest annotator role can still use the flaw, so only give accounts to people you trust.
  • Stop running it as root. Give it its own user that can write to its data folder and nowhere else. On the university server this one change would have turned a full takeover into a nuisance.
  • Upgrade once you've confirmed which release carries the fix.
  • If the server was exposed at any point since early September, look for files called sitecustomize.py or usercustomize.py that you didn't put there, odd .pth files, new SSH keys and new scheduled jobs. The CSA note lists two addresses the attackers used. If anything looks wrong, rebuild the machine.

If you've never heard of it

Then the specific advice doesn't apply, but three questions do.

What have your researchers and analysts installed themselves? Every organisation with a data team has a few of these: a notebook server, an annotation tool, a model-serving demo someone left running after a conference. They are built to be easy to start, which usually means no login and a wide-open port. We've sketched how we'd go about finding them in today's case study.

Does your patching process notice a fix that hasn't been released? Almost none do. For the handful of open-source tools you depend on most, it's worth having someone subscribed to the project's security advisories and not only to its releases.

What runs as root that doesn't need to? This is the dullest advice in security and it keeps being the difference between an incident and a disaster.

On the AI part

The flaw itself is ordinary. A filename that isn't checked properly is one of the oldest mistakes in web software, and a competent human tester would have found it in an afternoon. What's changed is who gets tested. Nobody was ever going to pay a skilled person to spend an afternoon on one research group's labelling server. An agent that costs a few pounds an hour will do it without being asked, as one stop on a list of thousands.

Moses says Cairn "is being adopted in both espionage and criminal operations". I'd take from that a simple planning assumption: the obscure things on your network will be examined as carefully as the important ones. Being small or niche used to count for something and I don't think it does now.

If you want help working out what's on your network that nobody has listed, write to sales@halfteck.com.

Sources: AWS Security Blog, 20 November 2026; MONAI Label advisory GHSA-qc22-rmgc-vg94; MONAI Label pull request 1915; Cloud Security Alliance research note, November 2026; monailabel release history on PyPI.

Explore more resources

Browse our full library of enterprise cloud, software, data and AI content.

View all resources