CVE-2026-118614

Ultralytics check_det_dataset Code Injection Remote Code Execution Vulnerability

Published Oct 28, 2026 CVSS 3.0 · 7.8 High EPSS < 1% KEV · Not listed
Description
Ultralytics check_det_dataset 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 check_det_dataset 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-30119.

Analysis

AI-generated

Technical impact

The vulnerability stems from the lack of proper validation of a user‑supplied string in the check_det_dataset function of Ultralytics software. Because the string is executed as Python code without sanitization, an attacker can inject and run arbitrary code in the context of the current user. The flaw is a classic Code Injection weakness (CWE-94) and can lead to full compromise of the affected system.

Affected Systems

All installations of Ultralytics that include the check_det_dataset function are potentially affected; the advisory does not specify affected versions or release dates, so any version of the software should be reviewed for this flaw.

Risk and Exploitability

The CVSS score of 7.8 classifies the issue as high severity, indicating that remote code execution is possible with a relatively low effort. EPSS is not available, and the vulnerability is not listed in the CISA KEV catalog, suggesting that at present there may be no known active exploitation. The requirement for user interaction—such as visiting a malicious page or opening a malicious file—means an attacker must first convince a user to trigger the vulnerable code, but once triggered, the attacker can execute arbitrary code with the permissions of that user. The risk remains moderate to high until a vendor patch is applied and the vulnerable code path is secured.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest patch or upgrade from Ultralytics that fixes the code injection flaw in check_det_dataset.
  • If an update is not immediately available, block or restrict external access to the function by removing it from public API endpoints or limiting its use to internal processes only.
  • Implement input validation or sandboxing for any user‑supplied strings that interact with Python exec calls, and monitor for suspicious file or URL activity with logging or application security tools.

Generated by OpenCVE AI on October 28, 2026 at 19:00 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 check_det_dataset 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 check_det_dataset 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-30119.
Title Ultralytics check_det_dataset 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:10 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