CVE-2026-31222

HIGH CVSS 3.1: 8.8 EPSS 0.39%
Updated Oct 20, 2026
Snorkel
Parameter Value
CVSS 8.8 (HIGH)
Affected Versions before 0.10.0
Type CWE-502 (Deserialization of Untrusted Data)
Vendor Snorkel
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
Required
User action required

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Snorkel Snorkel
cpe:2.3:a:snorkel:snorkel:*:*:*:*:*:*:*:*
— <= 0.10.0