CVE Catalog

CVE-2026-118615

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.41%

35th percentile - higher than 35% of all known CVEs

Summary

A command injection vulnerability in the torch_safe_load function of Ultralytics could lead to remote code execution. The flaw results from lack of proper validation of a user-supplied string before using it to execute a system call. User interaction is required (visiting a malicious page or opening a malicious file).

Risk Assessment

An attacker could remotely execute arbitrary code in the context of the current user, potentially leading to system compromise. The risk is high as only user interaction is required.

Recommendation

Update Ultralytics to a version containing the fix. Avoid opening untrusted files and visiting suspicious pages; implement input validation in applications using Ultralytics.

Other vulnerabilities in Ultralytics

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS