CVE-2026-31222
Last modified
CVE-2026-31222 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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. EPSS estimates a 0.39% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Snorkel | Snorkel | <= 0.10.0 |
References
- https://www.notion.so/CVE-2026-31222-35d1e139318881db8398e0732af8df6dThird Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2026-31222?
How severe is CVE-2026-31222?
How do I fix CVE-2026-31222?
Are you affected by CVE-2026-31222?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
