Skip to content
EXYS
Back to the CVEs

CVE-2026-100842

8.8, high

Project-MONAI MONAI Eval Injection Vulnerability

CVSS
8.8, high high CVSS v3.1
EPSS, next 30 days
0.1% higher than 3.6% of scored CVEs
Exploitation
Exploit code published
Published
27 Sept 202620 days ago

Description

MONAI through 1.6.0 contains an eval injection vulnerability in _get_fake_spatial_shape() in monai/bundle/scripts.py. The function validates shape expressions with a helper that walks the AST and only collects ast.Name nodes, rejecting any name other than 'p' or 'n', before passing the string to eval(). Expressions built solely from constants and attribute, subscript, or call nodes (for example "(1).__class__.__bases__[0].__subclasses__()" or "int.__class__.__init__.__globals__") contain no ast.Name nodes and therefore bypass the allowlist. Because the shape value originates from bundle metadata consumed by _get_real_input_data and verify_net_in_out (reachable through the bundle 'verify_net_in_out' CLI flow), an attacker who can influence a bundle's metadata can escape the eval sandbox via object introspection chains and achieve code execution in this non-default flow.

Details

Vendor
Project-MONAI
Product
MONAI
Weakness
CWE-95 (opens in a new tab)
Status
Analyzed
Updated
30 Sept 2026
Assigner
disclosure@vulncheck.com

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

References 2

The kind is read from NVD's tags where present and from the shape of the URL otherwise, so treat it as a hint.

Other Project-MONAI CVEs

Every Project-MONAI CVE we hold

Same vendor in what we hold, not a known link between the flaws.

  • CVE-2026-109360 Project-MONAI MONAI Deserialization of Untrusted Data Vulnerability EPSS 0.5% 7.5, high
  • CVE-2026-109361 Project-MONAI MONAI Deserialization of Untrusted Data Vulnerability EPSS 0.2% 7.3, high
  • CVE-2026-100844 Project-MONAI MONAI OS Command Injection Vulnerability EPSS 0.8% 7.8, high
  • CVE-2026-100846 Project-MONAI MONAI Deserialization of Untrusted Data Vulnerability EPSS 0.3% 8.8, high

Beyond this page

Is CVE-2026-100842 in your network?

This page tells you how dangerous CVE-2026-100842 is out there. Whether it sits on one of your devices, only a scan of your own network can tell. That is what our systems do, every day, for the companies we protect.

  • EXYS7600 OCELOT

    Find it before attackers do

    Ocelot scans your network on a schedule and reports every vulnerability it finds by its CVE identifier, with its CVSS score and how many of your hosts are affected. A finding like CVE-2026-100842 comes with the devices to patch.

    Learn more about EXYS7600 OCELOT
  • EXYS7950 KONDRA

    Detect it if it's exploited

    Until the patch is applied, Kondra monitors your network, events and endpoints in real time. It keeps an inventory of the software installed on every endpoint, and its anomaly detection rules flag what an attacker does once inside.

    Learn more about EXYS7950 KONDRA
Check your exposure

Assembled from the NVD 2.0 API, the CISA Known Exploited Vulnerabilities Catalog and FIRST EPSS. Scores are as of our last collection on 17 Oct 2026, not the live upstream state.