Skip to main content

Ultralytics EUVDEUVD-2026-112258

| CVE-2026-118613 HIGH
Deserialization of Untrusted Data (CWE-502)
2026-10-28 zdi GHSA-x3v8-q7c3-5f7w
7.8
CVSS 3.0 · Vendor: zdi
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Deliver malicious model file or page
  2. Delivery
    Victim opens file in Ultralytics (UI:R)
  3. Exploit
    torch_load deserializes untrusted data
  4. Execution
    Payload executes arbitrary code as current user
  5. Impact
    Full compromise of user context (C/I/A:H)

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the victim to load attacker-supplied data through the Ultralytics torch_load function - in practice opening a malicious PyTorch model/weights file or visiting a page that causes such a file to be deserialized. The vulnerable code performs no proper validation of the user-supplied serialized data before deserializing it. Limiting factors: the vector is Local (AV:L) with Required user interaction (UI:R), so there is no unauthenticated network-reachable trigger; code runs only in the context of the current user (S:U, no scope change or privilege escalation). Authentication is not required (PR:N), but the mandatory user action of opening/loading a malicious artifact is the primary constraint on real-world exploitation.

Impact

This is a genuine but not emergency-tier priority. The CVSS 3.0 base score of 7.8 (CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H) reflects full compromise of confidentiality, integrity and availability, but the Local attack vector (AV:L) plus Required user interaction (UI:R) are the key risk-dampening signals: an attacker cannot reach this over the network unaided - the victim must open a malicious model file or visit a malicious page that causes the vulnerable torch_load call to deserialize attacker-controlled data. Note the tension between the AV:L metric and the description's phrasing of 'remote attackers': this is the standard ZDI file/content-delivery framing where delivery may be remote but the trigger is local file/page handling, so AV:L is correct and no network-exposed service is directly attackable. No EPSS score is provided, so exploitation probability cannot be quantified; the vulnerability is NOT in CISA KEV and there is no confirmed public exploit code - only the ZDI advisory. The vuln.today decision label is 'this_week' (moderate urgency), consistent with a high-impact RCE that nonetheless depends on user interaction rather than mass remote exploitation. Bottom line: a real, high-impact RCE worth patching this week, but not evidence of active, widespread, or automatable exploitation at the time of analysis.

Exploit ScenarioDerived

An attacker crafts a malicious PyTorch model/weights file (or hosts a page that causes one to be loaded) and socially engineers a developer or ML practitioner into opening it with Ultralytics, which calls torch_load on the untrusted data. Deserialization of the crafted payload executes arbitrary code in the context of the current user. No confirmed public exploit code was identified at time of analysis; only the ZDI advisory exists.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 28, 2026

Deserialization of untrusted data in Ultralytics' torch_load function allows code to run in the context of the current user when a victim loads a malicious PyTorch model or weights file, or visits a page that causes such a file to be deserialized. The assessed vector is CVSS 3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H (7.8): no authentication is required (PR:N), but the Local vector and mandatory user interaction mean there is no unauthenticated network-reachable trigger, and code execution does not cross a privilege boundary. No CISA KEV entry and no public exploit were identified at time of analysis; priority is scheduled remediation this week rather than emergency response.

RemediationAI

No vendor-released patch or fixed version was identified in the available data, so confirm the fixed build in the ZDI advisory at https://www.zerodayinitiative.com/advisories/ZDI-26-812/ before upgrading. Until a patched release is confirmed, apply compensating controls that target the mandatory load step: restrict Ultralytics model loading to trusted, provenance-verified artifacts and treat any externally sourced model or weights file as executable content, at the cost of breaking workflows that intentionally consume third-party or user-uploaded models; where the application controls the deserialization call, avoid loading untrusted serialized objects entirely rather than relying on filename or extension checks. These controls reduce exposure but do not remove the underlying CWE-502 flaw, so upgrading remains the complete fix once a patched version is published.

Affected VersionsENISA

Ultralytics 8.4.65

Affected Packages

euvd ultralytics no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is CWE-502 (Deserialization of Untrusted Data) in Ultralytics' torch_load wrapper. PyTorch model and weights artifacts are serialized Python objects, and deserializing them without validating the supplied data lets an attacker embed a payload that executes during load. The CPE cpe:2.3:a:ultralytics:ultralytics:*:*:*:*:*:*:*:* uses a wildcard, so the advisory data does not pin a specific affected version range. Per the assessed vector (AV:L/AC:L/PR:N/UI:R/S:U), the trigger is a local load of an attacker-supplied artifact rather than a remote network request, and impact is confined to the current user's privileges without scope change; the specific validation gap inside torch_load is not further described in the available sources.

Know when Pytorch gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (zdi) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
vuln.today AI 7.8 HIGH

Trigger is local handling of a malicious file requiring user interaction (AV:L, UI:R); no auth needed (PR:N); unsafe deserialization yields full code execution as the current user (C/I/A:H, S:U).

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (zdi).

CVSS VectorVendor: zdi

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

Ultralytics torch_load 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 torch_load 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-29652.

Executive ViewAI

Why It Matters

CVE-2026-118613 exposes organizations that use Ultralytics' YOLO models to hidden code execution: when an employee loads a malicious PyTorch model or weights file, the attacker's code runs with that employee's permissions. Because model files are routinely shared across data science, research, and ML engineering teams, a single poisoned file can compromise a developer workstation and potentially pivot into internal systems, putting intellectual property and model supply-chain integrity at risk. No public exploit or active exploitation has been identified, so this is a scheduled-remediation matter rather than an emergency, but leadership should prioritize it given the sensitivity of ML pipelines.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: enforce weights_only=True in torch.load calls, validate model files via cryptographic checksums, load models only from trusted internal repositories, disable automatic model downloads in Ultralytics settings, and monitor endpoints for suspicious child processes from Python.

Threat Intelligence Overview

Prevalence
Medium
popular computer-vision/YOLO Python library, domain-specific not ubiquitous
Data Quality
2 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS N/A
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

CVE-2023-43654 CRITICAL POC
9.8 Sep 28

TorchServe is a tool for serving and scaling PyTorch models in production. Rated critical severity (CVSS 9.8), this vuln

CVE-2024-48063 CRITICAL POC
9.8 Oct 29

In PyTorch <=2.4.1, the RemoteModule has Deserialization RCE. Rated critical severity (CVSS 9.8), this vulnerability is

CVE-2025-1945 CRITICAL POC
9.8 Mar 10

PickleScan before 0.0.23 can be bypassed by flipping specific ZIP file header flag bits, allowing malicious pickle files

CVE-2022-45907 CRITICAL POC
9.8 Nov 26

In PyTorch before trunk/89695, torch.jit.annotations.parse_type_line can cause arbitrary code execution because eval is

CVE-2026-24747 HIGH POC
8.8 Jan 27

PyTorch is a Python package that provides tensor computation. [CVSS 8.8 HIGH]

CVE-2024-8020 HIGH POC
7.5 Mar 20

A vulnerability in lightning-ai/pytorch-lightning version 2.3.2 allows an attacker to cause a denial of service by sendi

CVE-2026-65918 HIGH POC
7.1 Jul 23

Out-of-bounds heap read in PyTorch torchvision's native GIF decoder (versions through 0.28.0) lets attackers who supply

CVE-2025-1944 MEDIUM POC
6.5 Mar 10

picklescan before 0.0.23 is vulnerable to a ZIP archive manipulation attack that causes it to crash when attempting to e

CVE-2024-35198 CRITICAL
9.8 Jul 19

TorchServe is a flexible and easy-to-use tool for serving and scaling PyTorch models in production. Rated critical sever

CVE-2025-32434 CRITICAL POC
9.3 Apr 18

PyTorch is a Python package that provides tensor computation with strong GPU acceleration and deep neural networks built

CVE-2025-33244 CRITICAL
9.0 Mar 24

NVIDIA APEX for Linux contains a deserialization of untrusted data vulnerability that affects environments using PyTorch

CVE-2025-2953 MEDIUM POC
4.8 Mar 30

A vulnerability, which was classified as problematic, has been found in PyTorch 2.6.0+cu124. Rated medium severity (CVSS

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy