{"id":"CVE-2026-31222","published":"2026-05-12T00:00:00Z","modified":"2026-05-15T18:05:36Z","title":"The snorkel library thru v0.10.0 contains an insecure deserialization vulnerability (CWE-502) in the Trainer.load()…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00392,"percentile":0.34245,"provenance":"source"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"references":[{"url":"https://github.com/snorkel-team/snorkel","tags":[]},{"url":"https://www.notion.so/CVE-2026-31222-35d1e139318881db8398e0732af8df6d","tags":[]}],"priority":{"score":13.0,"factors":[{"name":"EPSS percentile","points":6.85},{"name":"CVSS severity","points":6.16}]},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-05-15T17:53:30.624810Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"snorkel","vulnerableRanges":["<=0.10.0"],"patched":[],"from":["GHSA-78cp-f66x-qmh5","PYSEC-2026-3068"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-29506","exploited":false,"provenance":"source"}}