CVE-2026-111237

Ultralytics FastSAM AutoBackend Model Loading autobackend.py session.get_modelmeta.custom_metadata_map eval injection

State
Published
Severity
4.8 Medium
Published
Oct 16, 2026
Updated
Oct 21, 2026
Reserved
Oct 15, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.04.8 MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:XVulDB
3.15.3 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:X/RL:X/RC:CVulDB
3.05.3 MediumCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:X/RL:X/RC:CVulDB
2.04.3 MediumAV:L/AC:L/Au:S/C:P/I:P/A:P/E:ND/RL:ND/RC:CVulDB

Weaknesses

  • CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code
  • CWE-94 Code Injection

Affected Products

ProductVersions
FastSAMUltralytics
  • b4ed20c2fed75eadc5aa7d8b09fedd137b873b52Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.