Command Injection Affecting ultralytics package, versions [0,]


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.41% (36th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-ULTRALYTICS-21826817
  • published29 Oct 2026
  • disclosed28 Oct 2026
  • creditTrendAI™ Zero

Introduced: 28 Oct 2026

NewCVE-2026-118615  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

There is no fixed version for ultralytics.

Overview

ultralytics is an Ultralytics YOLOv8 for SOTA object detection, multi-object tracking, instance segmentation, pose estimation and image classification.

Affected versions of this package are vulnerable to Command Injection via the torch_safe_load function in ultralytics/nn/tasks.py. An attacker can execute arbitrary code as the current user by tricking a victim into opening or loading a malicious checkpoint that supplies a crafted missing-module name; torch_safe_load passes that name to dependency checking, which may install a package.

CVSS Base Scores

version 4.0
version 3.1