Skip to content
MediumVulnerability

CVE-2026-111237: Ultralytics FastSAM code injection in AutoBackend model loading

Identifier
CVE-2026-111237
Published
Record updated
View JSON

Summary

A weakness in Ultralytics FastSAM, up to commit b4ed20c2fed75eadc5aa7d8b09fedd137b873b52, affects the function session.get_modelmeta.custom_metadata_map in ultralytics/nn/autobackend.py, within the AutoBackend Model Loading component. Manipulating the imgsz, names or kpt_shape argument causes improper neutralization of directives in dynamically evaluated code, and the attack requires local access. The project was informed through an issue report but has not responded.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.