CVE-2026-31223 Snorkel BaseLabeler.load uses an unsafe pickle.load
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
Description
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pypi snorkel(PyPI) | <= 0.10.0; = 0.9.0; = 0.9.1; = 0.9.2 +8 more | after 0.10.0 | Fixed |
| snorkel | <= 0.10.0 | after 0.10.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi snorkel(PyPI) | <= 0.10.0 | No fix listed |
| pypi snorkel(PyPI) | = 0.10.0 | No fix listed |
| pypi snorkel(PyPI) | = 0.9.0 | No fix listed |
| pypi snorkel(PyPI) | = 0.9.1 | No fix listed |
| pypi snorkel(PyPI) | = 0.9.2 | No fix listed |
| pypi snorkel(PyPI) | = 0.9.3 | No fix listed |
| pypi snorkel(PyPI) | = 0.9.4 | No fix listed |
| pypi snorkel(PyPI) | = 0.9.5 | No fix listed |
| pypi snorkel(PyPI) | = 0.9.6 | No fix listed |
| pypi snorkel(PyPI) | = 0.9.7 | No fix listed |
| pypi snorkel(PyPI) | = 0.9.8 | No fix listed |
| pypi snorkel(PyPI) | = 0.9.9 | No fix listed |
| snorkel | <= 0.10.0 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- www.notion.so third-party-advisory
- pypi.org product
- github.com vendor-advisory