---
id: CVE-2026-111237
title: >-
  Ultralytics FastSAM AutoBackend Model Loading autobackend.py
  session.get_modelmeta.custom_metadata_map eval injection
summary: >-
  A weakness has been identified in Ultralytics FastSAM up to
  b4ed20c2fed75eadc5aa7d8b09fedd137b873b52. This affects the function
  session.get_modelmeta.custom_metadata_map of the file
  ultralytics/nn/autobackend.py of the component AutoBack…
severity: medium
cvss: 5.3
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:X/RL:X/RC:C'
cvssSource: cna
cwe:
  - CWE-95
  - CWE-94
vendor: Ultralytics
product: FastSAM
affected:
  - FastSAM b4ed20c2fed75eadc5aa7d8b09fedd137b873b52
published: '2026-10-16'
updated: '2026-10-16'
sourceUpdated: '2026-10-16T01:00:18.557Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-111237'
references:
  - url: 'https://vuldb.com/vuln/420764'
    label: >-
      VDB-420764 | Ultralytics FastSAM AutoBackend Model Loading autobackend.py
      session.get_modelmeta.custom_metadata_map eval injection
  - url: 'https://vuldb.com/vuln/420764/cti'
    label: 'VDB-420764 | CTI Indicators (IOB, IOC, IOA)'
  - url: 'https://vuldb.com/cve/CVE-2026-111237'
    label: CVE-2026-111237 | CVE Analysis and Report
  - url: 'https://vuldb.com/submit/1004882'
    label: >-
      Submit #1004882 | CASIA-LMC-Lab FastSAM up to main commit
      b4ed20c2fed75eadc5aa7d8b09fedd137b873b52 (vendors ultralytics 8.0.120)
      Code Injection
  - url: 'https://github.com/CASIA-LMC-Lab/FastSAM/issues/288'
tags:
  - cve.org
ingestedAt: '2026-10-16T01:55:57.999Z'
---

## Overview

A weakness has been identified in Ultralytics FastSAM up to b4ed20c2fed75eadc5aa7d8b09fedd137b873b52. This affects the function session.get_modelmeta.custom_metadata_map of the file ultralytics/nn/autobackend.py of the component AutoBackend Model Loading. This manipulation of the argument imgsz/names/kpt_shape causes improper neutralization of directives in dynamically evaluated code. The attack requires local access. This product uses a rolling release model to deliver continuous updates. As a result, specific version information for affected or updated releases is not available. The project was informed of the problem early through an issue report but has not responded yet.

## Affected

- `FastSAM b4ed20c2fed75eadc5aa7d8b09fedd137b873b52`

## Remediation

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