Skip to content
RedCVE

CVE-2026-100842Project Monai Monai eval injection

Project-MONAIPublished:

CVSS score

7.3

High

CVSS 4.0 from vulncheck.com

Exploit probability (EPSS)

0.18%

0.18% chance of exploitation in the next 30 days, higher than 7.91% of all CVEs.

CISA KEV

Not in KEV

No confirmed exploitation reported by CISA so far.

Official 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.

Source: NVD · CNA: disclosure@vulncheck.com

How to fix it, step by step

  1. Check whether you're affected

    Find every system running Project-MONAI Monai and compare its version with the affected versions.

  2. Apply the vendor's fix

    The official record doesn't name a fixed version. The vendor's advisory describes the fix:

Was this useful?

How it can be exploited

Attack vector
Local
Attack complexity
High
Attack requirements
Present
Privileges required
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High

Values in red make the vulnerability easier to exploit or more damaging. CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Affected products

Affected productsVersions
Project-MONAI Monai≤ 1.6.0

Weakness

Timeline

  1. Published:
  2. Last modified:

Frequently asked questions

Is CVE-2026-100842 being exploited?

There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.2% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2026-100842?

CVE-2026-100842 has a CVSS 4.0 base score of 7.3 (high).

Which versions are affected?

Project Monai Monai (≤ 1.6.0)

Is there a patch for CVE-2026-100842?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.