CVE-2026-118618

Ultralytics parse_model Code Injection Remote Code Execution Vulnerability

Published Oct 28, 2026 CVSS 3.0 · 7.8 High EPSS < 1% KEV · Not listed
Description
Ultralytics parse_model Code 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 parse_model function. The issue results from the lack of proper validation of a user-supplied string before using it to execute Python code. An attacker can leverage this vulnerability to execute code in the context of the current user. Was ZDI-CAN-30121.

Analysis

AI-generated

Technical impact

This vulnerability allows an attacker to inject arbitrary Python code through the parse_model function in Ultralytics. The flaw arises because a user‑supplied string is executed without proper validation, giving an attacker the ability to run code with the privileges of the current user. The impact is the execution of arbitrary code, compromising confidentiality, integrity, and availability of the affected system.

Affected Systems

The affected product is Ultralytics, specifically the parse_model component used to load models. No specific version restrictions are listed, so all versions that include the vulnerable parse_model function are potentially impacted.

Risk and Exploitability

The CVSS score of 7.8 indicates moderate–to–severe risk. The EPSS score is not available, and the vulnerability is not listed in CISA KEV, suggesting it may not yet be actively exploited at scale. The likely attack vector is a malicious webpage or file that forces a user to open or visit, thus requiring user interaction for exploitation. Based on the description, the attacker would need to supply a crafted model file or trigger the parse_model call, then the injected Python code would execute within the context of the Ultralytics process.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest Ultralytics update that patches parse_model input validation.
  • Restrict file handling to trusted directories and validate or sanitize model file content before parsing.
  • Run Ultralytics services under a non‑privileged account or in a sandboxed environment to limit potential damage.

Generated by OpenCVE AI on October 28, 2026 at 18:58 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Ultralytics
Ultralytics ultralytics
Vendors & Products Ultralytics
Ultralytics ultralytics
Type Values Removed Values Added
Description Ultralytics parse_model Code 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 parse_model function. The issue results from the lack of proper validation of a user-supplied string before using it to execute Python code. An attacker can leverage this vulnerability to execute code in the context of the current user. Was ZDI-CAN-30121.
Title Ultralytics parse_model Code Injection Remote Code Execution Vulnerability
Weaknesses CWE-94
References
Metrics cvssV3_0

{'score': 7.8, 'vector': 'CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')

Sources

Status
PUBLISHED
Assigner
zdi
Published
Updated
Nov 5, 2026, 5:07 PM
Reserved
Oct 28, 2026, 4:53 PM
Status
Awaiting Analysis
Published
Oct 28, 2026, 5:18 PM
Modified
Nov 5, 2026, 5:17 PM