Skip to main content
← All vulnerabilities
CVE-2026-118615EUVD-2026-112260GHSA-58WJ-MQXW-WJFJ

Ultralytics torch_safe_load Command Injection Remote Code Execution Vulnerability

Published
Last modified
published
Not listed in CISA KEV
None on Exploit-DB, Metasploit or GitHub

Summary

Ultralytics, a widely used Python computer vision library, is affected by a command injection flaw in its torch_safe_load function. An attacker could exploit this to run arbitrary code with the privileges of the current user if a victim visits a malicious page or opens a malicious file.

Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.

Read the original 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.

Timeline

  1. CVE published
  2. First seen by cve.now

Affected versions

  • Ultralytics Ultralytics

    8.4.65

References 1

zerodayinitiative.com