Deserialization in Snorkel
CVE-2026-31223
The snorkel library thru v0.10.0 contains a critical insecure deserialization vulnerability (CWE-502) in the BaseLabeler.load() method of the BaseLabeler class. The method loads serialized labeler models using the unsafe pickle.load() function on user-supplied file paths without any validation or security controls. Python's pickle module is inherently dangerous for deserializing untrusted data, as it can execute arbitrary code during the deserialization process. A remote attacker can exploit this by providing a maliciously crafted pickle file, leading to arbitrary code execution on the victim's system when the file is loaded via the vulnerable method.
Vulnerability class: Insecure Deserialization
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.007 (50.8th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 51st percentile — 50.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.004 · newest: 0.007 · change: +0.003
Affected products
Weakness classification (CWE)
References
- github.com/snorkel-team/snorkel (Product)
- www.notion.so/CVE-2026-31223-35d1e1393188811ab1d0e4a8a2e67992 (Third Party Advisory)
Frequently asked questions
- What is CVE-2026-31223?
- CVE-2026-31223 is a high-severity vulnerability in Snorkel, classified under Deserialization of Untrusted Data. CVSS score: 8.8/10. Published 2026-05-12.
- How severe is CVE-2026-31223?
- High severity. CVSS v3 base score is 8.8 out of 10.