CVE-2026-111237 Details
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.
A vulnerability exists in Ultralytics FastSAM versions prior to b4ed20c2fed75eadc5aa7d8b09fedd137b873b52, specifically in the AutoBackend model loading component. The issue arises because the function session.get_modelmeta.custom_metadata_map in the file ultralytics/nn/autobackend.py evaluates ONNX metadata strings using eval(), creating a risk of arbitrary code execution. This vulnerability requires local access to exploit.
To address this vulnerability, update the vendored copy of Ultralytics to version 8.3.234 or later, or manually replace eval() with ast.literal_eval() in the affected file.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 16, 2026CISA-ADP
Assessed Oct 21, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/CASIA-LMC-Lab/FastSAM/issues/288 | [email protected] | ExploitIssue TrackingRemedyTechnical AnalysisVendor |
| https://vuldb.com/cve/CVE-2026-111237 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/submit/1004882 | [email protected] | Issue TrackingPermission Required |
| https://vuldb.com/vuln/420764 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/vuln/420764/cti | [email protected] | Content Wall |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
| CWE-95 | Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Ultralytics FastSAM | <= b4ed20c2fed75eadc5aa7d8b09fedd137b873b52 |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 21, 2026 | CVE Modified | CISA-ADP |
| Oct 16, 2026 | New CVE Received | [email protected] |
Volerion