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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Ultralytics | FastSAM | b4ed20c2fed75eadc5aa7d8b09fedd137b873b52 | — |
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