CVE-2026-31222: The snorkel library thru v0.10.0 contains an insecure deserialization vulnerability (CWE-502) in the Trainer.l
CVE-2026-31222 is a high-severity flaw (CVSS 8.8) affecting snorkel. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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
Why this priority
- High severity
A fixed release or distro patch exists.
Risk facts
| CVSS score | 8.8 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 0.4% (top 67%) |
| CISA exploited list | No |
| Weakness | CWE-502 |
| Published | 2026-05-12 |
| Last modified | 2026-10-19 |
Last updated 2026-10-19 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-31222?
snorkel: upgrade to newer than 0.10.0. Exact commands for each OS are on this page.
Is CVE-2026-31222 being exploited?
CVE-2026-31222 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-31222 affect?
CVE-2026-31222 affects snorkel. Severity is high (CVSS 8.8). 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-restri
How urgent is CVE-2026-31222?
Priority 39/100. High severity
Software pages
Python vulnerabilities · Check Point vulnerabilities
Related CVEs
- CVE-2026-31223 HIGH 8.8 UPGRADE The snorkel library thru v0.10.0 contains a critical insecure deserialization vulnerability (CWE-502) in the B
- CVE-2026-31224 HIGH 8.8 UPGRADE The snorkel library thru v0.10.0 contains an insecure deserialization vulnerability (CWE-502) in the Multitask