Ultralytics torch_safe_load Command Injection Remote Code Execution Vulnerability
Impact
Ultralytics version 8.4.65 has a command injection weakness in the torch_safe_load function, allowing attackers to execute arbitrary code if the target visits a malicious page or opens a malicious file. User interaction is required. The issue results from a lack of proper validation of user-supplied input.
Summarized by @cf/meta/llama-3.3-70b-instruct-fp8-fast. Verify details against the original sources.Affected packages
Affected products
Vendor version evidence. Product records are separate from automatic dependency matching.
Ultralytics · zdi
Ultralytics
1 range
Ultralytics · zdi
Ultralytics
Compare with this publisher’s ranges. This does not inspect your installation.
affected
8.4.65
Other versions: unknown
Original source 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.
Inside the record
Evidence available
Describes the evidence in this view, not whether the product is safe.
Original records
CVE-2026-118615View the latest unmodified CVE JSON from the official source. It may be newer than this imported page.
cve.new JSON →Underlying weaknesses
The source’s classification of what caused the vulnerability.
Contributing organizations · 1
Assigning organization
What changed
Follow changesLarge field values are marked as truncated previews. Original source snapshots remain retained.