HIGH8.5
PYSEC-2026-4015
Quick fix
PYSEC-2026-4015 — monai: upgrade to the fixed version with the command below.
pip install --upgrade 'monai>=1.6.1rc0'Details
MONAI through 1.6.0 contains a remote code execution vulnerability in the bundle configuration engine that resolves _target_ values to arbitrary importable callables without an allow list and passes $ expressions to Python eval(). Attackers can publish a malicious bundle with crafted configuration containing arbitrary code that executes when a victim loads the bundle using monai.bundle.load() or monai.bundle.run().
Are you affected?
Enter the version of the package you're using.