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. |
| Impact | Real-world risk is moderate, tempered by significant attack constraints. The CVSS 3.1 vector shows this requires local access (AV:L), low privileges (PR:L), and no user interaction (UI:N), limiting the threat landscape to authenticated local users or compromised development accounts. The CVSS score of 5.3 alone suggests medium severity; however, exploitation probability (E:P) and public POC availability elevate practical risk for organizations with PyTorch development pipelines. The unpatched status (RL:X) and reliability marked as reasonable (RC:R) further increase concern. Unlike remote code execution vulnerabilities, this attack requires either compromised model files, insider threat, or supply-chain poisoning of training datasets. SSVC analysis would classify this as exploitable and technically impactful but limited in scope by access requirements; it is a priority for organizations using PyTorch in multi-user or supply-chain-exposed scenarios, but lower priority for isolated single-user research environments. |
| Exploit ScenarioDerived | An attacker with local system access (or a malicious development team member) crafts a specially-formatted PyTorch checkpoint or model file containing gadget chains that execute arbitrary code during deserialization. When a researcher or CI/CD pipeline executes torch.load() or a similar checkpoint restoration function on this file, the unsafe deserialization triggers code execution with the privileges of the PyTorch process, allowing the attacker to exfiltrate training data, inject backdoors into models, or pivot to other systems. The public availability of exploit code in GitHub and VulDB references means this attack surface is well-documented and accessible to threat actors. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 22, 2026
A deserialization vulnerability exists in PyTorch 2.10.0 within the pt2 Loading Handler component, allowing local attackers with low privileges to achieve confidentiality, integrity, and availability impacts through untrusted data processing. The vulnerability (CWE-502) is confirmed to have a publicly available exploit and has been reported to the project via pull request PR#176791, though remediation status remains unclear. With a CVSS score of 5.3 and exploitation probability marked as probable (E:P), this represents a moderate real-world risk primarily affecting local development and deployment environments.
RemediationAI
Immediately check the PyTorch GitHub repository (https://github.com/pytorch/pytorch/) and pull request PR#176791 (https://github.com/pytorch/pytorch/pull/176791) for available patches; upgrade to the patched version once released and thoroughly tested in your environment. In the interim, implement strict access controls limiting local shell access to PyTorch systems, disable model loading from untrusted or user-supplied sources, validate and sandbox all checkpoint and model file sources before deserialization, and monitor for suspicious torch.load() calls in application logs. Additionally, consider running PyTorch workloads in isolated containers or virtual machines with restricted filesystem and network policies to limit blast radius if exploitation occurs.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in pypi, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability stems from unsafe deserialization practices in PyTorch's pt2 Loading Handler, a component responsible for loading serialized model objects and checkpoint files. CWE-502 (Deserialization of Untrusted Data) is the root cause, which occurs when applications deserialize data from untrusted sources without proper validation or sandboxing. PyTorch users typically interact with this during model loading operations (torch.load(), checkpoint restoration, etc.), making the pt2 Loading Handler a critical attack surface. The affected CPE designation (cpe:2.3:a:n/a:pytorch:*:*:*:*:*:*:*:*) indicates broader PyTorch installations may be vulnerable, though specific version boundaries are currently undefined in available intelligence.
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
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
4DescriptionCVE.org
A vulnerability was identified in PyTorch 2.10.0. The affected element is an unknown function of the component pt2 Loading Handler. The manipulation leads to deserialization. The attack can only be performed from a local environment. The exploit is publicly available and might be used. The project was informed of the problem early through a pull request but has not reacted yet.
Blast Radius
ecosystem impact- 212 pypi packages depend on torch (167 direct, 46 indirect)
Ecosystem-wide dependent count for version 2.10.0.
Executive ViewAI
Organizations using A vulnerability should be aware of moderate risk from CVE-2026-4538, a insecure deserialization vulnerability rated CVSS 5.3. Exploitation could compromise the security of affected deployments. Proof-of-concept code is publicly available. Organizations should apply vendor updates when available and monitor for exploitation.
Apply vendor patch. If patching is delayed: restrict network access and enable monitoring.
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.
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-14280
GHSA-33x2-ppm4-v46v
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB