CVE-2026-118615 Ultralytics torch_safe_load Command Injection Remote Code Execution Vulnerability

High 7.8 Published Updated
Exploited in the wild
Not known
Fix
None listed

What is CVE-2026-118615?

CVE-2026-118615 is a high-severity vulnerability in Ultralytics, published on 28 Oct 2026.

Official description

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.

Weakness: CWE-78

Which versions are affected by CVE-2026-118615?

How do I fix CVE-2026-118615?

No fix has been published for CVE-2026-118615 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-118615 being exploited?

There is no known exploitation of CVE-2026-118615 in the wild and no public exploit code.

Sources

Also known as GHSA-58wj-mqxw-wjfj.

Is CVE-2026-118615 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free