Vulnerability · Published Oct 16, 2026 · Assigned by VulDB
CVE-2026-111237Ultralytics FastSAM AutoBackend Model Loading autobackend.py session.get_modelmeta.custom_metadata_map eval injection
Medium 5.3
In plain English
A medium-severity code injection in FastSAM from Ultralytics. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 2% of all known vulnerabilities).
Official description
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 products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Ultralytics | FastSAM | b4ed20c2fed75eadc5aa7d8b09fedd137b873b52 |
Weakness: CWE-95, CWE-94 · Vector: 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
References
- VDB-420764 | Ultralytics FastSAM AutoBackend Model Loading autobackend.py session.get_modelmeta.custom_metadata_map eval injection vdb-entry, technical-description
- VDB-420764 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- CVE-2026-111237 | CVE Analysis and Report third-party-advisory
- Submit #1004882 | CASIA-LMC-Lab FastSAM up to main commit b4ed20c2fed75eadc5aa7d8b09fedd137b873b52 (vendors ultralytics 8.0.120) Code Injection third-party-advisory
- https://github.com/CASIA-LMC-Lab/FastSAM/issues/288 issue-tracking