Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDeliver malicious model file or page
-
DeliveryVictim opens file in Ultralytics (UI:R)
-
Exploittorch_load deserializes untrusted data
-
ExecutionPayload executes arbitrary code as current user
-
ImpactFull 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
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).
Primary rating from Vendor (zdi).
CVSS VectorVendor: zdi
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.
Zero Day Initiative Advisories
Executive ViewAI
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
TorchServe is a tool for serving and scaling PyTorch models in production. Rated critical severity (CVSS 9.8), this vuln
In PyTorch <=2.4.1, the RemoteModule has Deserialization RCE. Rated critical severity (CVSS 9.8), this vulnerability is
PickleScan before 0.0.23 can be bypassed by flipping specific ZIP file header flag bits, allowing malicious pickle files
In PyTorch before trunk/89695, torch.jit.annotations.parse_type_line can cause arbitrary code execution because eval is
PyTorch is a Python package that provides tensor computation. [CVSS 8.8 HIGH]
A vulnerability in lightning-ai/pytorch-lightning version 2.3.2 allows an attacker to cause a denial of service by sendi
Out-of-bounds heap read in PyTorch torchvision's native GIF decoder (versions through 0.28.0) lets attackers who supply
picklescan before 0.0.23 is vulnerable to a ZIP archive manipulation attack that causes it to crash when attempting to e
TorchServe is a flexible and easy-to-use tool for serving and scaling PyTorch models in production. Rated critical sever
PyTorch is a Python package that provides tensor computation with strong GPU acceleration and deep neural networks built
NVIDIA APEX for Linux contains a deserialization of untrusted data vulnerability that affects environments using PyTorch
A vulnerability, which was classified as problematic, has been found in PyTorch 2.6.0+cu124. Rated medium severity (CVSS
EUVD-2026-112258
GHSA-x3v8-q7c3-5f7w
NVD
CVE.org
Exploit-DB