Case · DiggingBeagle record

MONAI nnUNet plans file selected arbitrary executable classes during model load

The primary advisory demonstrates a controlled file write using a selected callable.

Published by DiggingBeagle:

Scope

MONAI through 1.6.1 and an operator or agent loading an adversarial nnUNet bundle.

Assessment profile

Assessment method
Setting
research demonstration
Exploitation
demonstrated
Evidence
Grade B
Remediation
patch available
AI role
AGAINST AI
Basis and provenance

The cited primary source supports the stated mechanism and scoped outcome. Impact band remains unrated because no calibrated victim exposure or severity distribution is established by the cited evidence.

Assessed Nov 22, 2026 using diggingbeagle.assessment/1.

At a glance

Mechanism and trust boundary

  1. 01

    Load an nnUNet model package

    A MONAI user or model-loading agent accepts a bundle containing plans.json from an untrusted provider.

    Boundary: Downloaded architecture metadata outside trusted codebase

  2. 02

    Resolve an arbitrary implementation class

    The plans file names a Python module/class that the loader imports and instantiates rather than restricting it to vetted architectures.

    Boundary: Model configuration string becomes executable import target

  3. 03

    Trigger the selected callable

    A project-controlled proof of concept performed a file write; actual impact depends on the process rights and selected bundle.

    Boundary: Arbitrary local code behavior during model setup

Claims & evidence

CLM-2026-NOV22-MONAI-NNUNET-PLANS-SCOPEThe primary advisory demonstrates a controlled file write using a selected callable. This is a distinct ingestion surface from MMAR and from pickle-based checkpoint deserialization, even though all three concern untrusted model artifacts.supported

Basis: reported finding

Link to claim
CLM-2026-NOV22-MONAI-NNUNET-PLANS-MECHANISMA supplied nnUNet model package included plans.json containing an implementation-class reference. The loader treated that reference as authority to import and instantiate the selected object, allowing untrusted configuration to execute arbitrary imported behavior.supported

Basis: reported finding

Link to claim

Implications

The config-controlled callable route is distinct from the MMAR and NNI issues although the same project fixed them in the same release. Model artifact validation must constrain imported code identities, not only tensor deserialization or shell escaping.

Controls and mitigations

  • enforce an allowlist of architectures and reject arbitrary module/object names in untrusted model plans

Unknowns and contradictions

  • A hostile model file must actually reach the loader; ordinary user prompts cannot trigger this vulnerability by themselves.

Sources and citation

Material revision history

  1. Nov 22, 2026 · Published version · first publication · revision 275