8.8high
Snorkel BaseLabeler.load uses an unsafe pickle.load
- Severity
- 8.8high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.39% (higher than 35% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-fq92-qc8f-482vPYSEC-2026-3069
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| snorkel (PyPI) | up to 0.10.0 | GitHub Advisory Database, PyPA Advisory Database |
| snorkel snorkel | up to 0.10.0 | NVD |
All scores
| CISA-ADP | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| GitHub | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| PyPA Advisory Database | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
La biblioteca snorkel hasta la v0.10.0 contiene una vulnerabilidad crítica de deserialización insegura (CWE-502) en el método BaseLabeler.load() de la clase BaseLabeler. El método carga modelos de etiquetador serializados utilizando la función insegura pickle.load() en rutas de archivo proporcionadas por el usuario sin ninguna validación o controles de seguridad. El módulo pickle de Python es inherentemente peligroso para deserializar datos no confiables, ya que puede ejecutar código arbitrario durante el proceso de deserialización. Un atacante remoto puede explotar esto al proporcionar un archivo pickle creado maliciosamente, lo que lleva a la ejecución de código arbitrario en el sistema de la víctima cuando el archivo se carga a través del método vulnerable.
References
| https://github.com/snorkel-team/snorkel | package, product | |
| https://www.notion.so/CVE-2026-31223-35d1e1393188811ab1d0e4a8a2e67992 | third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-31223 | advisory | |
| https://pypi.org/project/snorkel | package | |
| https://github.com/advisories/GHSA-fq92-qc8f-482v | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-31223 changed 2026-05-15 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-fq92-qc8f-482v changed 2026-07-13 | CC-BY-4.0 |
| NVD | CVE-2026-31223 changed 2026-10-19 | Public domain |
| PyPA Advisory Database | PYSEC-2026-3069 changed 2026-07-13 | CC-BY-4.0 |