Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious checkpoint with Pickle payload
-
DeliveryDistribute via compromised repository or phishing
-
ExploitVictim downloads checkpoint file
-
ExecutionVictim calls Trainer.load() on malicious file
-
PersistPickle deserialization executes payload
-
ImpactArbitrary code runs with user privileges
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 execute Snorkel's Trainer.load() method on an attacker-controlled checkpoint file. Specific prerequisites include: the target must be running Snorkel library version v0.10.0 or earlier; the victim must obtain and attempt to load a malicious model checkpoint file (requires social engineering, supply chain compromise of model repositories, or man-in-the-middle attack during model download); and the victim must have sufficient trust or operational workflow reasons to load third-party or externally sourced checkpoint files. Exploitation is LIMITED by required user interaction (UI:R in CVSS)-the victim must actively choose to load the file, it is not automatically processed. No authentication (PR:N) is required from the attacker's perspective since exploitation occurs on the victim's local system during file processing. The vulnerability does not affect deployments that exclusively use internally-generated checkpoints with verified provenance or those that do not use Snorkel's Trainer.load() functionality. Default configurations of Snorkel v0.10.0 are vulnerable when loading any checkpoint file. |
| Impact | The CVSS vector (AV:N/AC:L/PR:N/UI:R) indicates a remotely exploitable vulnerability with low attack complexity but requiring user interaction, resulting in complete system compromise (C:H/I:H/A:H). However, multiple risk signals suggest limited real-world threat: EPSS probability of 0.06% places this in the 19th percentile, indicating security researchers assess practical exploitation as unlikely. The vulnerability is not listed in CISA KEV, confirming no detected active exploitation. The required user interaction (UI:R) is substantial-victims must deliberately download and load a malicious model checkpoint file, which requires either social engineering or compromise of trusted model repositories. The attack surface is primarily limited to data science workflows where users load third-party pre-trained models or checkpoints from untrusted sources. Organizations not using Snorkel or those with strict model provenance controls face negligible risk. While the technical impact is severe, the exploitation conditions significantly constrain real-world risk below what the raw CVSS score suggests. |
| Exploit ScenarioDerived | An attacker crafts a malicious PyTorch checkpoint file embedding a Pickle payload with a __reduce__ method that executes system commands (e.g., reverse shell, data exfiltration). The attacker distributes this file through a compromised model repository, disguised as a pre-trained Snorkel model, or via targeted phishing to data scientists. When a victim researcher downloads the checkpoint and loads it using Trainer.load() in their development environment, the Pickle deserialization automatically executes the embedded payload with the privileges of the Python process, granting the attacker code execution on the victim's machine with access to source code, credentials, and training data. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 13, 2026
Arbitrary code execution in Snorkel machine learning library (≤v0.10.0) occurs when users load malicious model checkpoint files through the Trainer.load() method. The vulnerability stems from unsafe PyTorch deserialization that processes untrusted Pickle objects without the weights_only security parameter. Attackers can embed malicious Python code in model files distributed through repositories, shared datasets, or social engineering campaigns. Despite the 8.8 CVSS score indicating critical severity, EPSS scoring at 0.06% (19th percentile) suggests very low real-world exploitation probability, and no active exploitation or public proof-of-concept has been identified at time of analysis.
RemediationAI
Upgrade to Snorkel versions newer than v0.10.0 when a patched release becomes available; monitor the official GitHub repository (https://github.com/snorkel-team/snorkel) and PyPI package updates for security releases addressing CVE-2026-31222. No vendor-released patch version is independently confirmed from available data at time of analysis. As interim compensating controls: restrict Trainer.load() usage to checkpoint files from trusted, verified sources only; implement file integrity verification using cryptographic signatures or hashes before loading any model checkpoints; apply filesystem permissions to prevent unauthorized modification of checkpoint directories; deploy application sandboxing (containers, VMs with limited privileges) to contain potential code execution if malicious models are loaded; consider patching the local Snorkel installation by modifying Trainer.load() to call torch.load() with weights_only=True, though this may break legitimate functionality if checkpoints contain non-tensor objects. Network-based controls are ineffective as exploitation occurs during local file processing. Organizations not loading third-party or user-supplied checkpoint files face minimal risk and may defer patching until operational updates.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Snorkel is a Python framework for programmatic data labeling and weak supervision in machine learning pipelines. The vulnerability resides in the interaction between Snorkel's Trainer class and PyTorch's checkpoint loading mechanism. PyTorch's torch.load() function uses Python's Pickle protocol for serialization, which can execute arbitrary code during deserialization. While PyTorch introduced the weights_only=True parameter to restrict deserialization to tensor data only, Snorkel v0.10.0 and earlier versions call torch.load() with default settings that permit full object deserialization. This creates a CWE-502 (Deserialization of Untrusted Data) vulnerability where any Python object-including those with __reduce__ methods that execute system commands-can be embedded in a model file and triggered when loaded.
Know when Checkpoint 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:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
3DescriptionNVD
The snorkel library thru v0.10.0 contains an insecure deserialization vulnerability (CWE-502) in the Trainer.load() method of the Trainer class. The method loads model checkpoint files using torch.load() without enabling the security-restrictive weights_only=True parameter. This default behavior allows the deserialization of arbitrary Python objects via the Pickle module. A remote attacker can exploit this by providing a maliciously crafted model file, leading to arbitrary code execution on the victim's system when the file is loaded via the vulnerable method.
Blast Radius
ecosystem impact- 5 pypi packages depend on snorkel (4 direct, 1 indirect)
Ecosystem-wide dependent count for version 0.10.0.
Executive ViewAI
Snorkel machine learning library versions 0.10.0 and earlier contain an arbitrary code execution vulnerability in model checkpoint loading that could allow attackers to execute malicious code when users import compromised model files. This affects data science and ML engineering teams who rely on Snorkel for training workflows and model management, potentially compromising sensitive training data and downstream systems.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Load model checkpoints only from internal, version-controlled repositories with access controls and audit logging; (2) Execute Trainer.load() operations in isolated sandbox environments with restricted network and filesystem access; (3) Implement file integrity monitoring and cryptographic verification (SHA-256 hashing) of all checkpoint files before loading; (4) Restrict Snorkel usage to sandboxed development environments until patched; (5) Monitor Python process execution during model loading for unexpected subprocess spawning or system commands.
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.
More in Checkpoint
View allGNU Bash through 4.3 processes trailing strings after function definitions in the values of environment variables, which
Potentially allowing an attacker to read certain information on Check Point Security Gateways once connected to the inte
GNU Bash through 4.3 bash43-025 processes trailing strings after certain malformed function definitions in the values of
backend/comics/comics-document.c (aka the comic book backend) in GNOME Evince before 3.24.1 allows remote attackers to e
Remote code execution in Check Point Quantum Security Gateway arises from improper certificate trust validation during V
Authentication bypass in the Check Point SmartConsole login process lets an unauthenticated remote attacker mint a valid
Authentication bypass in Check Point Quantum Security Gateway and Spark Firewalls allows unauthenticated remote attacker
Unauthenticated attackers who can reach the file-upload interface of Check Point Management Server can combine directory
Local privilege escalation in Check Point Gaia OS lets an authenticated local user execute commands as root by writing t
An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation ClientHello message from a client. Rated med
Remote code execution in Check Point Quantum Security Gateway and Quantum Security Management stems from a heap-based bu
Unauthenticated remote code execution affects Check Point Quantum Security Management, where a stack-based buffer overfl
EUVD-2026-29506
GHSA-78cp-f66x-qmh5
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB