Skip to main content

Ultralytics EUVDEUVD-2026-112260

| CVE-2026-118615 HIGH
OS Command Injection (CWE-78)
2026-10-28 zdi GHSA-58wj-mqxw-wjfj
7.8
CVSS 3.0 · Vendor: zdi
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Deliver crafted model file or malicious page
  2. Exploit
    Victim loads file via torch_safe_load
  3. Execution
    Unvalidated string reaches system call
  4. Impact
    Execute arbitrary code as current user

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK

2 techniques across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The victim must load an attacker-supplied Ultralytics model via the vulnerable torch_safe_load function - e.g., opening a crafted model/weights file or visiting a page that triggers such a load; the flaw is OS command injection (CWE-78) where a user-supplied string is passed to a system call without validation. Exploitation is gated by mandatory user interaction (UI:R) and a local attack vector (AV:L): there is no network-reachable trigger, and code runs only with the privileges of the user who loads the file. The practical limiting factor is model provenance - environments that only load trusted, internally produced weights are not realistically exposed, while those ingesting third-party or community model files are.

Impact

The CVSS 3.0 base score is 7.8 (High), but the vector tells a more nuanced story: AV:L and UI:R mean this is NOT remote-wild exploitation - an attacker cannot reach the flaw over the network and must induce the victim to load an attacker-controlled model file. PR:N indicates no authentication is needed once the file is opened, and the C:H/I:H/A:H impact reflects full code execution in the current user's context. There is no CISA KEV listing and no EPSS score was supplied, so exploitation probability cannot be quantified from the input; the only exploitation signal is a single ZDI advisory (ZDI-26-814, from ZDI-CAN-30122), which is a coordinated-disclosure advisory rather than confirmed working exploit code. The vuln.today decision label is 'this_week' - an elevated-but-not-emergency priority consistent with a user-interaction-gated local RCE in a popular ML library. Net assessment: this is a genuine priority for anyone running untrusted or third-party Ultralytics model weights, but the mandatory user-interaction and local-vector constraints make it materially lower real-world risk than a network-reachable unauthenticated RCE of the same score; absent EPSS/KEV data, treat it as a supply-chain/model-provenance hygiene issue rather than a mass-exploitation threat.

Exploit ScenarioDerived

An attacker publishes or shares a malicious Ultralytics model file (or lures the victim to a page that triggers a model load), and when the victim loads it through the affected torch_safe_load path, an attacker-supplied string is passed into a system call without validation, executing arbitrary code as that user. Exploitation requires that victim interaction (opening the file/visiting the page), consistent with the CVSS AV:L/UI:R metrics. A ZDI advisory reference exists, but no working exploit code is confirmed in the available data.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 28, 2026

OS command injection in Ultralytics' torch_safe_load function allows an attacker who supplies a crafted model file to execute arbitrary code with the privileges of the user who loads it. Reachability is limited: the assessed vector is local (AV:L) with mandatory user interaction (UI:R), so an attacker cannot trigger the flaw across the network and must instead convince the victim to open a malicious model/weights file or visit a page that causes such a load - CVSS 3.0 base score 7.8 (High) is scored PR:N but the practical gate is the victim's action. No public exploit code identified at time of analysis, and realistic exposure is confined to environments that ingest third-party or community weights rather than only trusted, internally produced models.

RemediationAI

No vendor-released patch identified at time of analysis; consult ZDI-26-814 (https://www.zerodayinitiative.com/advisories/ZDI-26-814/) and Ultralytics' own release notes for the fixed build, and do not assume a specific version number until the vendor publishes one. Until a fix is confirmed, the effective control is model provenance: only load weights produced internally or received over a verified channel, and validate cryptographic hashes/signatures before a checkpoint reaches torch_safe_load - the trade-off is that community and third-party models become unusable until vetted. Where untrusted weights must be inspected, perform the load inside a sandboxed, low-privilege process or disposable container with no credentials, network egress, or writable mounts, accepting the operational overhead and reduced performance of that isolation. Because the attack is local and requires the victim to open a malicious file (UI:R), you can also reduce the attack surface by blocking automated or bulk download of external checkpoints into production pipelines and by preventing untrusted model files from being opened from email, chat, or browser downloads on analyst workstations - though this is user-behavior hardening, not a technical fix, and it does not remove the underlying command-injection path.

Affected VersionsENISA

Ultralytics 8.4.65

Affected Packages

euvd ultralytics no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected component is Ultralytics' model-loading path, specifically the torch_safe_load helper used when reading serialized PyTorch checkpoints (.pt weights). CWE-78 (Improper Neutralization of Special Elements used in an OS Command) applies: a user-supplied string reaching the loader is passed to a system call without validation, so a crafted model file can smuggle an OS command into the load process. The CPE cpe:2.3:a:ultralytics:ultralytics:*:*:*:*:*:*:*:* carries a wildcard version, meaning the source data does not enumerate a version boundary - every installation is nominally in scope. Beyond the fact that the flaw sits in torch_safe_load and that loading a malicious file is the delivery mechanism, the sources provided do not describe the precise parsing step or argument that reaches the system call, so the exact trigger is not described in the available sources. Because execution occurs inside the loader, any code runs at the privilege level of the process performing the model load (typically the interactive user or a training/inference service account).

Know when Ultralytics gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (zdi) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
vuln.today AI 7.8 HIGH

Exploitation requires loading an attacker-supplied model file locally (AV:L, UI:R) with no prior privileges (PR:N), and command injection yields full code execution in the user context (C:H/I:H/A:H).

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (zdi).

CVSS VectorVendor: zdi

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

Ultralytics torch_safe_load Command Injection Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Ultralytics. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.

The specific flaw exists within the torch_safe_load function. The issue results from the lack of proper validation of a user-supplied string before using it to execute a system call. An attacker can leverage this vulnerability to execute code in the context of the current user. Was ZDI-CAN-30122.

Executive ViewAI

Why It Matters

CVE-2026-118615 is a high-severity OS command injection vulnerability in Ultralytics' torch_safe_load function, which is used to load machine learning model files. An attacker can craft a malicious model file that, when loaded, executes arbitrary code with the victim user's privileges. This primarily threatens teams that ingest third-party or community-contributed model weights, potentially leading to unauthorized access, data compromise, or further lateral movement within the organization.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include: only load model files from trusted, internally verified sources; implement cryptographic signature verification for model files; run model loading in isolated, low-privilege sandboxed environments; restrict user permissions; and monitor for anomalous process execution following model loads.

Threat Intelligence Overview

Prevalence
Medium
popular Python ML/computer-vision (YOLO) library, but domain-specific deployment footprint
Data Quality
2 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS N/A
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy