Quick answers
- Is CVE-2026-100842 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-100842 being exploited in the wild.
- How severe is CVE-2026-100842?
- High severity, with a CVSS score of 7, published 27 September 2026.
- Which products and versions are affected?
- Project-MONAI MONAI through 1.6.0; monai (PyPI) ECOSYSTEM:introduced=0,fixed=1.6.1rc0.
- Is there a fix for CVE-2026-100842?
- Yes. monai (PyPI): upgrade to 1.6.1rc0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-100842 attacked?
- It is attacked with local access, in a software library.
- Am I affected by CVE-2026-100842?
- Check whether you run Project-MONAI MONAI or monai (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- monai (PyPI): upgrade to 1.6.1rc0 or later
pip install "monai>=1.6.1rc0"
Technical details
The vulnerability is an eval injection (CWE-95) in _get_fake_spatial_shape() within monai/bundle/scripts.py. The function validates shape expressions by checking for ast.Name nodes and rejecting names outside a whitelist (p, n), but expressions using only object introspection chains like "(1).__class__.__bases__[0].__subclasses__()" bypass this filter because they contain no ast.Name nodes. An attacker with the ability to influence bundle metadata (reachable through the verify_net_in_out CLI flow) can supply such expressions to achieve code execution.
Affected products
- Project-MONAI MONAI through 1.6.0
Identifiers
- CVE-2026-100842
- GHSA-h89g-r5pc-wxfm
- PYSEC-2026-4017
Timeline
- 2026-09-27: disclosed