CVE-2026-31222: snorkel - Insecure Deserialization
- Cve: CVE-2026-31222
- Name: snorkel - Insecure Deserialization
- Description: 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.
- Impact: Remote attackers can execute arbitrary code on the victim's system by loading malicious model files.
- Remediation: Update to a version that enables weights_only=True in torch.load() or the latest version.
- Vulnerability type: insecure_deserialization
- Vulnerability impact: remote_code_execution
- Requirements: Attacker must provide and have the model file loaded by the vulnerable method
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Epss score: 0.00392
- Epss percentile: 0.33853
- Assignee: [email protected]
- Published at: 2026-05-12T16:16:14Z
- Age in days: 196
- Modified at: 2026-10-19T22:10:00Z
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-31222
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirement type, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-502 | Deserialization of Untrusted Data |
References
| Url | Source | Tags |
|---|---|---|
| https://www.notion.so/CVE-2026-31222-35d1e139318881db8398e0732af8df6d | nvd | Third Party Advisory |
| https://github.com/snorkel-team/snorkel | nvd | Product |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| snorkel:snorkel | <= 0.10.0 | no | nvd | /v1/products/snorkel/snorkel |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| snorkel-team/snorkel | package | yes | /v1/repositories/snorkel-team/snorkel |
Index
- Repositories: 1
- Repositories high signal: 1
- Packages: 1
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts