Skip to main content

Medical-SAM-Adapter CVE-2026-111212

| EUVDEUVD-2026-102550 LOW
Eval Injection (CWE-95)
2026-10-16 VulDB GHSA-j86r-qpm6-f9qw
0.9
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain local low-privilege access
  2. Delivery
    Supply crafted model file with malicious metadata
  3. Exploit
    Victim loads model via AutoBackend
  4. Execution
    eval() neutralizes nothing, executes payload
  5. Impact
    Limited code execution and info disclosure in user context

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Eval input sanitization
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the attacker to get a crafted model file loaded through the AutoBackend model-loading path (models/MobileSAMv2/ultralytics/nn/autobackend.py), where the imgsz, names, or kpt_shape metadata fields are passed into a dynamically evaluated (eval) expression without neutralization. Concrete prerequisites: local access to the host (AV:L), existing low-level privileges on the system (PR:L), and victim/user interaction to actually load the malicious model (UI:P). Limiting factors: there is no remote vector, no unauthenticated path, and impact is partial (Low C/I/A) and confined to the loading user's context (SC:N/SI:N/SA:N), so a user who only loads trusted, self-generated models is not exposed.

Impact

This is a low-priority issue despite being a code-injection flaw (CWE-95). All signals agree on low real-world risk. The CVSS 4.0 vector (AV:L/AC:L/PR:L/UI:P/VC:L/VI:L/VA:L) yields a base score of only 2.4, reflecting that exploitation requires local access, existing low privileges, and victim interaction, while delivering only partial (Low) confidentiality, integrity, and availability impact rather than full system compromise. A public POC exists (E:P, referenced via the GitHub issue), which modestly raises practical concern, but there is NO CISA KEV listing and no EPSS score was provided in the input, so there is no evidence of widespread or automated exploitation. The flaw resides in Medical-SAM-Adapter, a niche academic/research project, further limiting exposure. One caveat to verify: the affected code path lives in a bundled copy of ultralytics (models/MobileSAMv2/ultralytics/nn/autobackend.py), so the root cause is the well-known ultralytics AutoBackend metadata eval() pattern rather than code original to this project - defenders should check whether the upstream ultralytics fix applies. Net: a genuine but very low-severity local flaw, not an urgent remote threat.

Exploit ScenarioDerived

An attacker who can place or convince a user to load a crafted model file supplies malicious imgsz/names/kpt_shape metadata that is passed to a dynamic eval() during AutoBackend model loading, causing attacker-controlled code to run in the context of the loading user. A public proof-of-concept exists (linked from the project's GitHub issue tracker). Because the attack is local and requires the victim to load the model (UI:P), it is most plausible in supply-chain or shared-model scenarios rather than remote attack.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 16, 2026

Code injection in ImprintLab Medical-SAM-Adapter 0.1.0-alpha and 0.1.0 allows a local, low-privileged attacker to execute arbitrary code in the context of the user who loads a crafted model file. The flaw resides in the AutoBackend model-loading path (models/MobileSAMv2/ultralytics/nn/autobackend.py), where the imgsz, names, or kpt_shape metadata fields are passed into a dynamically evaluated expression without neutralization (CWE-95). Publicly available exploit code exists, and the project has not responded to the issue report; exploitation requires local access and victim interaction to load the malicious model, limiting impact to Low confidentiality, integrity, and availability.

RemediationAI

No vendor-released patch identified at time of analysis; the project has not responded to the issue report. Until a fix is available, avoid loading model files from untrusted or external sources, as the code executes during model loading from metadata fields. Run model loading in a sandboxed process or container with minimal privileges and no access to sensitive data; this limits the impact of code execution but may break normal workflows. Restrict local access to trusted users and monitor for malicious model files. A code-level fix would require sanitizing or removing the eval of imgsz, names, and kpt_shape metadata; check the GitHub issue (https://github.com/ImprintLab/Medical-SAM-Adapter/issues/145) and repository (https://github.com/ImprintLab/Medical-SAM-Adapter/) for updates.

Affected VersionsENISA

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

Affected Packages

euvd medical_sam_adapter no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability is CWE-95 (Improper Neutralization of Directives in Dynamically Evaluated Code, i.e., eval injection). It affects the Ultralytics-based AutoBackend model-loading component shipped in Medical-SAM-Adapter, specifically models/MobileSAMv2/ultralytics/nn/autobackend.py. When loading a model file, the code reads metadata fields such as imgsz, names, and kpt_shape from session.get_modelmeta.custom_metadata_map and incorporates them into an eval expression without sanitization. A crafted model file can therefore inject Python code that runs during model loading. The CPE cpe:2.3:a:imprintlab:medical-sam-adapter:*:*:*:*:*:*:*:* indicates all versions of the product are potentially affected. The attack is local: the attacker must place a malicious model file on the host and convince a user to load it, and the resulting code execution is confined to the loading user's context with no assessed scope change (SC:N/SI:N/SA:N).

Know when Medical Sam Adapter gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulDB) PRIMARY 0.9 LOW
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
vuln.today AI 4.8 MEDIUM

Local-only delivery of a crafted model (AV:L), requiring an existing low-privilege account (PR:L) and the victim loading the file (UI:R); eval injection yields partial but not full C/I/A impact in the user's context.

3.1 AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L
4.0 AV:L/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
CVSS changed
Oct 16, 2026 - 03:25 NVD
2.4 (LOW) 0.9 (LOW)
CVE Published
Oct 16, 2026 - 00:45 cve.org
LOW 2.4

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.1%
Top 99% exploitable
Prevalence
Rare
niche academic medical-imaging research project, no enterprise footprint
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

24
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +4
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy