CVE-2026-111237
Ultralytics FastSAM AutoBackend Model Loading autobackend.py session.get_modelmeta.custom_metadata_map eval injection
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.
Severity (CVSS)
CVSS: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:X
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Attack requirements
- none: an attack works without special conditions on the target
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Impact on the vulnerable system
- confidentiality low, integrity low, availability low: what an attacker can read, change or stop in the vulnerable component
- Impact on other systems
- confidentiality none, integrity none, availability none: what an attacker can read, change or stop beyond it
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
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality low, integrity low, availability low: what an attacker can read (confidentiality), change (integrity) or stop (availability)
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:X/RL:X/RC:C
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality low, integrity low, availability low: what an attacker can read (confidentiality), change (integrity) or stop (availability)
AV:L/AC:L/Au:S/C:P/I:P/A:P/E:ND/RL:ND/RC:C
- Attack vector
- local: the attacker needs local access
- Attack complexity
- low
- Authentication
- single: the attacker has to log in once
- Impact
- confidentiality partial, integrity partial, availability partial
Exploitation
EPSS 0.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 3.91% of all scored CVEs. Scores of 26 Nov 2026.
The assessment of CISA (SSVC, 21 Oct 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-94 Improper Control of Generation of Code
- CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| FastSAM |
affected b4ed20c2fed75eadc5aa7d8b09fedd137b873b52
|
Is my server affected?
Find the installed version of fastsam and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i fastsam
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2026-111237 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-111237RHEL, Rocky, Alma, Fedora
rpm -q fastsam
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-111237Alpine
apk list --installed | grep -i fastsamWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-111237
trivy image --scanners vuln IMAGE | grep CVE-2026-111237
PatchBrief makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Install the agent.
References
Advisories
- CVE-2026-111237 | CVE Analysis and Report vuldb.com · third party advisory
- Submit #1004882 | CASIA-LMC-Lab FastSAM up to main commit b4ed20c2fed75eadc5aa7d8b09fedd137b873b52 (vendors… vuldb.com · third party advisory
Other references
- VDB-420764 | Ultralytics FastSAM AutoBackend Model Loading autobackend.py session.get_modelmeta.custom_metadata_map… vuldb.com · vdb entry, technical description
- VDB-420764 | CTI Indicators (IOB, IOC, IOA) vuldb.com · signature, permissions required
- https://github.com/CASIA-LMC-Lab/FastSAM/issues/288 github.com · issue tracking
Source: the record CVE-2026-111237 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.