CVE-2026-118615: Ultralytics torch_safe_load command injection remote code execution

CVE-2026-118615 · Severity: high · CVSS 7.8 · Published 2026-10-28

Ultralytics is a computer vision library used for AI model training and deployment. This vulnerability in the torch_safe_load function allows attackers to execute arbitrary code on systems running the library if a user opens a malicious file or visits a malicious page. An attacker could gain full control of the affected system, leading to data theft, ransomware installation, or lateral movement within a network.

Technologies: Ultralytics. Vendors: Ultralytics.

Quick answers

Is CVE-2026-118615 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-118615 being exploited in the wild.
How severe is CVE-2026-118615?
High severity, with a CVSS score of 7.8, published 28 October 2026.
Which products and versions are affected?
Ultralytics Ultralytics.
Is there a fix for CVE-2026-118615?
No fixed version is recorded yet. Restrict user interaction with untrusted files or webpages until patches are available, particularly files containing serialized models that would be processed by torch_safe_load. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-118615 attacked?
It is attacked with local access, in a software library.
Am I affected by CVE-2026-118615?
Check whether you run Ultralytics. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

Restrict user interaction with untrusted files or webpages until patches are available, particularly files containing serialized models that would be processed by torch_safe_load.

Technical details

The torch_safe_load function in Ultralytics lacks proper validation of user-supplied strings before passing them to system calls, enabling command injection. The vulnerability requires user interaction (opening a malicious file or visiting a malicious webpage) and executes with the privileges of the current user. A successful exploit grants arbitrary code execution on the affected system.

Affected products

  • Ultralytics Ultralytics

Timeline

  • 2026-06-18: disclosed: Vulnerability reported to vendor
  • 2026-10-28: advisory: Coordinated public release of advisory

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.