Evidence · DiggingBeagle record
MONAI load_from_mmar advisory: untrusted checkpoint configuration can execute code
Project MONAI advisory documents data-to-code execution through imported classes/callables in MMAR loading, mitigated in 1.6.2.
- Source role
- primary disclosure
Evidence record
Claim-level citations (3)
- supportsMONAI MMAR checkpoint configuration executed arbitrary importable callables: The maintainer demonstrates that loading an untrusted MMAR artifact can trigger Python execution under the loader process. `torch.load(weights_only=True)` does not close this independent metadata-as-code route.
Primary advisory or study: reproduction, results and limitations
- supportsMONAI MMAR checkpoint configuration executed arbitrary importable callables: A third-party MMAR model bundle could include configuration values interpreted as importable Python functions or classes. The load_from_mmar path could import and execute a callable from attacker-controlled model metadata without requiring unsafe pickle deserialization.
Primary advisory or study: technical mechanism and affected component
- supportsMONAI MMAR checkpoint configuration executed arbitrary importable callables: A third-party MMAR model bundle could include configuration values interpreted as importable Python functions or classes. The load_from_mmar path could import and execute a callable from attacker-controlled model metadata without requiring unsafe pickle deserialization.
GHSA-4724-w94g-2rfp: load_from_mmar class/function import from untrusted MMAR config