Command injection in Ultralytics torch_safe_load allows code execution
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.0 · CNA. Fix status from CNA. Impact type from CWE-78.
Summary
Ultralytics from 8.4.65 is affected by a command injection flaw (CWE-78) in the torch_safe_load function. The function uses a user-supplied string in a system call without proper validation. A remote attacker can execute code as the current user if a victim visits a malicious page or opens a malicious file.
Written with Claude Haiku 5.5 from the sources below · 2026-11-05
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Ultralytics | Ultralytics | 8.4.65 | — | No fix listed | CNA |
- Ultralytics VendorUltralytics Affected 8.4.65 Fixed in — No fix listed CNA
Remediation
The sources list no fixed version for Ultralytics.
Written with Claude Haiku 5.5 from the sources below · 2026-11-05
Timeline
- 2026-10-28 Threatist record created from CVE-2026-118615
- 2026-10-28 Alias added: GHSA-58wj-mqxw-wjfj
- 2026-10-30 Priority changed: MEDIUM → LOW
- 2026-11-05 CISA SSVC decision points changed
References
Other 1
More Ultralytics vulnerabilities
- TI-2021-11748 Deserialization of Untrusted Data vulnerability in yolo 3 allows attackers to execute… CVSS 3.1HIGH 7.8
- TI-2021-11747 Deserialization of Untrusted Data vulnerability in yolo 5 allows attackers to execute… CVSS 3.1HIGH 7.8
- TI-2026-82089 Path traversal in Ultralytics Drive downloads enables code execution CVSS 3.0HIGH 8.8
- TI-2026-82087 Ultralytics deserialization flaw enables remote code execution CVSS 3.0HIGH 7.8
- TI-2026-82088 Code injection in Ultralytics parse_model allows code execution CVSS 3.0HIGH 7.8
- TI-2026-82086 Code injection in Ultralytics parse_model allows code execution CVSS 3.0HIGH 7.8
Sources
- CVE-2026-118615 · CVE Program
- CVE-2026-118615 · NVD
- FIRST EPSS
- GHSA-58wj-mqxw-wjfj · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences