CVE-2026-31222Snorkel
High 8.8 No auth needed
Follow: this CVE · Snorkel · Snorkel We alert you by email or Slack (account required).
- Priority
- 68
- CVSS 3.1
- 8.8
- EPSS
- —
- Auth required
- No
- Published
- May 12, 2026
- Updated
- Oct 19, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-502
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Snorkel.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | snorkel |
≤ 0.10.0 |
no fixed version | — |
| PyPI | snorkel |
≤ 0.10.0 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-78cp-f66x-qmh5, PYSEC-2026-3068). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| snorkel | snorkel | ≤ 0.10.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Product
- www.notion.so Third Party Advisory