The MONAI Auto3DSeg NNI integration interpolated configuration such as work_dir into a shell trialCommand rather than passing escaped arguments as a structured vector. A modified YAML value could be interpreted as a second shell command when the NNI runner launched training. The advisory supports a code-execution path in the optional training workflow. It…
Inspect the ClaimsCase · DiggingBeagle record
MONAI Auto3DSeg NNI training command accepted shell metacharacters from configuration
The advisory supports a code-execution path in the optional training workflow.
Published by DiggingBeagle:
MONAI 1.0.0 to 1.6.0 with NNI enabled and an untrusted or modifiable Auto3DSeg training configuration.
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.
Evidence basis: CLM-2026-NOV22-MONAI-NNI-TRAINING-MECHANISM · CLM-2026-NOV22-MONAI-NNI-TRAINING-SCOPE · MONAI Auto3DSeg AutoRunner advisory: NNI trial command shell injection
At a glance
The weakness is conditional on an optional automated training mode and a modifiable configuration file. The appropriate fix is structured argument handling or tight escaping, not merely a safer model-weight loader, because the command runs before ordinary inference.
Read the implicationsNo observed malicious training campaign or patient record access is reported. The NNI optional dependency and trusted-config conditions materially restrict exposure.
Limits and uncertaintyFull account
The MONAI Auto3DSeg NNI integration interpolated configuration such as work_dir into a shell trialCommand rather than passing escaped arguments as a structured vector. A modified YAML value could be interpreted as a second shell command when the NNI runner launched training.
The advisory supports a code-execution path in the optional training workflow. It does not claim a malicious model output directly escaped an inference sandbox or that default inference services execute the payload. The critical boundary is training orchestration configuration crossing from model/project metadata into the host shell.
The documented repair is pass shell arguments without interpolation and treat project training configuration as executable input requiring review. No observed malicious training campaign or patient record access is reported. The NNI optional dependency and trusted-config conditions materially restrict exposure.
Mechanism and trust boundary
- 01
Enable Auto3DSeg NNI training
A developer or automated workflow chooses an NNI-enabled training configuration containing a work_dir or related shell-interpolated field.
Boundary: Untrusted training metadata consumed by execution harness
- 02
Construct trialCommand as shell text
MONAI interpolates the YAML-controlled value into an NNI shell command without preserving it as an inert argument.
Boundary: Configuration scalar becomes shell syntax
- 03
Execute unintended command
A crafted value can add a second operation when the NNI runner launches; remote exploitation without the relevant config and workflow is not established.
Boundary: Training runner privileges and filesystem access
Claims & evidence
CLM-2026-NOV22-MONAI-NNI-TRAINING-SCOPEThe advisory supports a code-execution path in the optional training workflow. It does not claim a malicious model output directly escaped an inference sandbox or that default inference services execute the payload.supported
Basis: reported finding
- supportsMONAI Auto3DSeg AutoRunner advisory: NNI trial command shell injectionprimary disclosure
Primary advisory or study: reproduction, results and limitations
CLM-2026-NOV22-MONAI-NNI-TRAINING-MECHANISMThe MONAI Auto3DSeg NNI integration interpolated configuration such as work_dir into a shell trialCommand rather than passing escaped arguments as a structured vector. A modified YAML value could be interpreted as a second shell command when the NNI runner launched training.supported
Basis: reported finding
- supportsMONAI Auto3DSeg AutoRunner advisory: NNI trial command shell injectionprimary disclosure
Primary advisory or study: technical mechanism and affected component
- supportsMONAI Auto3DSeg AutoRunner advisory: NNI trial command shell injectionprimary disclosure
GHSA-vq3w-pqfr-2w2r: Auto3DSeg AutoRunner NNI trialCommand interpolated from training work_dir
Implications
The weakness is conditional on an optional automated training mode and a modifiable configuration file. The appropriate fix is structured argument handling or tight escaping, not merely a safer model-weight loader, because the command runs before ordinary inference.
Controls and mitigations
- pass shell arguments without interpolation and treat project training configuration as executable input requiring review
Unknowns and contradictions
- No observed malicious training campaign or patient record access is reported. The NNI optional dependency and trusted-config conditions materially restrict exposure.
Sources and citation
Material revision history
- Nov 22, 2026 · Published version · first publication · revision 275