# PYSEC-2026-4015: monai code execution

- Database: PyPA
- Published: 2026-09-27
- Modified: 2026-10-01

## Tracked as

- [CVE-2026-100840](https://cve.now/CVE-2026-100840.md): MONAI through 1.6.0 Remote Code Execution via bundle configuration

## Also published as

- [GHSA-873F-PVRV-4X83](https://cve.now/GHSA-873F-PVRV-4X83.md) (GitHub)

## Affected versions

- monai (PyPI): fixed in 1.6.1rc0

## Description

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().

## References

- https://www.vulncheck.com/advisories/monai-through-1.6.0-remote-code-execution-via-bundle-configuration
- https://github.com/Project-MONAI/MONAI/security/advisories/GHSA-873f-pvrv-4x83

Page: https://cve.now/PYSEC-2026-4015

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
