# CVE-2026-31223: Snorkel BaseLabeler.load uses an unsafe pickle.load

- Severity: High 8.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 35% of CVEs (2026-12-01)
- Published: 2026-05-12T00:00:00.000Z
- Modified: 2026-10-19T22:10:00.130Z
- Also known as: GHSA-fq92-qc8f-482v, PYSEC-2026-3069
- Weaknesses: CWE-502
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- snorkel (PyPI): up to 0.10.0
- snorkel snorkel: up to 0.10.0

## Every score

- CISA-ADP: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## 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

- CVE List: [CVE-2026-31223](https://www.cve.org/CVERecord?id=CVE-2026-31223), CVE Terms of Use, modified 2026-05-15
- GitHub Advisory Database: [GHSA-fq92-qc8f-482v](https://github.com/advisories/GHSA-fq92-qc8f-482v), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-31223](https://nvd.nist.gov/vuln/detail/CVE-2026-31223), Public domain, modified 2026-10-19
- PyPA Advisory Database: [PYSEC-2026-3069](https://osv.dev/vulnerability/PYSEC-2026-3069), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-31223 · Whole record: https://cve.day/CVE-2026-31223.json · Rebuilt by cve.day 2026-11-25T22:59:21.367Z
