CVE-2026-118617

Ultralytics load_dataset_cache_file Deserialization of Untrusted Data Remote Code Execution Vulnerability

Published Oct 28, 2026 CVSS 3.0 · 7.8 High EPSS < 1% KEV · Not listed
Description
Ultralytics load_dataset_cache_file Deserialization of Untrusted Data 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 load_dataset_cache_file function. The issue results from the lack of proper validation of user-supplied data, which can result in deserialization of untrusted data. An attacker can leverage this vulnerability to execute code in the context of the current user. Was ZDI-CAN-30124.

Analysis

AI-generated

Technical impact

The vulnerability exists in the load_dataset_cache_file function, which fails to validate user-supplied data before deserializing it. This lack of validation can lead to arbitrary code execution in the context of the current user. The flaw is a classic deserialization of untrusted data, identified as CWE-502. Attackers must supply a crafted payload, so the vulnerability requires user interaction, typically by visiting a malicious page or opening a tampered file.

Affected Systems

The affected vendor is Ultralytics, specifically their Ultralytics package. No specific product subtypes are listed, and no version scope is indicated in the public data, so all releases that include the load_dataset_cache_file function are potentially impacted until a patch is released.

Risk and Exploitability

The vulnerability carries a CVSS score of 7.8, indicating high severity. No EPSS score is available, and the issue is not listed in CISA's KEV catalog. Exploitation requires user interaction; an attacker would need the victim to open a malicious file or visit a compromised site that delivers the crafted cache file. Once the vulnerability is triggered, code runs with the privileges of the current user, creating significant confidentiality, integrity, and availability risks.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Ultralytics library to the latest version that resolves the load_dataset_cache_file deserialization issue.
  • If an upgrade is not immediately possible, disable or remove the ability to load cache files from untrusted sources, or change file permissions so that only trusted entities can write cache files.
  • Implement input validation for cache data before deserialization, ensuring the payload conforms to expected formats and rejecting unexpected content.

Generated by OpenCVE AI on October 28, 2026 at 18:59 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 load_dataset_cache_file Deserialization of Untrusted Data 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 load_dataset_cache_file function. The issue results from the lack of proper validation of user-supplied data, which can result in deserialization of untrusted data. An attacker can leverage this vulnerability to execute code in the context of the current user. Was ZDI-CAN-30124.
Title Ultralytics load_dataset_cache_file Deserialization of Untrusted Data Remote Code Execution Vulnerability
Weaknesses CWE-502
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-502

    Deserialization of Untrusted Data

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