---
id: CVE-2026-118615
title: >-
  Ultralytics torch_safe_load Command Injection Remote Code Execution
  Vulnerability
summary: >-
  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 thi…
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'
cvssSource: cna
cwe:
  - CWE-78
vendor: Ultralytics
product: Ultralytics
affected:
  - Ultralytics 8.4.65
published: '2026-10-28'
updated: '2026-10-28'
sourceUpdated: '2026-10-28T16:54:16.852Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-118615'
references:
  - url: 'https://www.zerodayinitiative.com/advisories/ZDI-26-814/'
    label: ZDI-26-814
tags:
  - cve.org
zeroDay: true
ingestedAt: '2026-10-28T17:14:44.427Z'
---

## Overview

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.

## Affected

- `Ultralytics 8.4.65`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
