PoC Watch
MONAI Label unauthenticated path traversal leading to code execution
Exploited in the wildCritical 9.8
A path traversal flaw in the datastore image upload lets an unauthenticated remote attacker write outside the intended directory, which can lead to code execution. Fixed in 0.8.6. Reporting says it was exploited from September 2026, before public disclosure on November 20, and Amazon Threat Intelligence tied the activity with moderate confidence to a China-nexus actor using autonomous AI agents against university servers. CISA added it to KEV on November 23.
Mitigation by layer
Patch
- Upgrade MONAI Label to 0.8.6 or later everywhere it runs, including research workstations and containers.
Step by step
- Check the installed version in each Python environment.
pip show monailabel | grep -i '^version'Expected output
Version: 0.8.6 or higher. Anything lower is affected.
- Upgrade, then restart the server process.
pip install --upgrade 'monailabel>=0.8.6'
- Check the installed version in each Python environment.
Reduce exposure
- Do not expose the MONAI Label server to the internet. Put it behind a VPN or an authenticating reverse proxy, and allow only the annotation clients that need it.
- Find instances you did not know about. Research tools get stood up without tickets.
Harden access
- Run the server as an unprivileged user, ideally in a container with a read-only filesystem apart from the datastore, so a file write cannot reach system paths.
Detect
- Look for signs of earlier compromise. Exploitation predates the patch by about two months.
Step by step
- List recently changed files outside the datastore that the service user could write, such as cron entries and SSH keys.
sudo find /etc/cron* /var/spool/cron ~<service-user>/.ssh -type f -mtime -90 -ls 2>/dev/null - Review server access logs for upload requests from addresses that are not your annotation clients.
- List recently changed files outside the datastore that the service user could write, such as cron entries and SSH keys.
Contain and recover
- If the host was exposed while vulnerable, treat it as compromised: rebuild it, rotate credentials and tokens stored on it, and review what it could reach on the research network.