Description
A security flaw has been discovered in ImprintLab Medical-SAM-Adapter 0.1.0-alpha/0.1.0. Affected by this issue is the function session.get_modelmeta.custom_metadata_map of the file models/MobileSAMv2/ultralytics/nn/autobackend.py of the component AutoBackend Model Loading. The manipulation of the argument imgsz/names/kpt_shape results in improper neutralization of directives in dynamically evaluated code. The attack requires a local approach. The exploit has been released to the public and may be used for attacks. The project was informed of the problem early through an issue report but has not responded yet.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| ImprintLab | Medical-SAM-Adapter | 0.1.0, 0.1.0-alpha | — |
References
- VDB-420763 | ImprintLab Medical-SAM-Adapter AutoBackend Model Loading autobackend.py session.get_modelmeta.custom_metadata_map eval injection vdb-entry technical-description
- VDB-420763 | CTI Indicators (IOB, IOC, IOA) signature permissions-required
- CVE-2026-111212 | CVE Analysis and Report third-party-advisory
- Submit #1004881 | ImprintLab Medical-SAM-Adapter up to main commit 5888e722876511f177e8e762498a7986753b7f7d (vendors ultralytics 8.0.120) Code Injection third-party-advisory
- https://github.com/ImprintLab/Medical-SAM-Adapter/issues/145 exploit issue-tracking
- https://github.com/ImprintLab/Medical-SAM-Adapter/ product