---
id: CVE-2026-111212
title: >-
  ImprintLab Medical-SAM-Adapter AutoBackend Model Loading autobackend.py
  session.get_modelmeta.custom_metadata_map eval injection
summary: >-
  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…
severity: medium
cvss: 4.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L/E:P/RL:X/RC:C'
cvssSource: cna
cwe:
  - CWE-95
  - CWE-94
vendor: ImprintLab
product: Medical-SAM-Adapter
affected:
  - Medical-SAM-Adapter 0.1.0
  - Medical-SAM-Adapter 0.1.0-alpha
published: '2026-10-16'
updated: '2026-10-16'
sourceUpdated: '2026-10-16T00:45:19.743Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-111212'
references:
  - url: 'https://vuldb.com/vuln/420763'
    label: >-
      VDB-420763 | ImprintLab Medical-SAM-Adapter AutoBackend Model Loading
      autobackend.py session.get_modelmeta.custom_metadata_map eval injection
  - url: 'https://vuldb.com/vuln/420763/cti'
    label: 'VDB-420763 | CTI Indicators (IOB, IOC, IOA)'
  - url: 'https://vuldb.com/cve/CVE-2026-111212'
    label: CVE-2026-111212 | CVE Analysis and Report
  - url: 'https://vuldb.com/submit/1004881'
    label: >-
      Submit #1004881 | ImprintLab Medical-SAM-Adapter up to main commit
      5888e722876511f177e8e762498a7986753b7f7d (vendors ultralytics 8.0.120)
      Code Injection
  - url: 'https://github.com/ImprintLab/Medical-SAM-Adapter/issues/145'
  - url: 'https://github.com/ImprintLab/Medical-SAM-Adapter/'
tags:
  - cve.org
ingestedAt: '2026-10-16T00:55:09.967Z'
---

## Overview

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

- `Medical-SAM-Adapter 0.1.0`
- `Medical-SAM-Adapter 0.1.0-alpha`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
