PT-2026-40061 · Pypi · Snorkel
Published
2026-05-12
·
Updated
2026-05-12
·
CVE-2026-31222
CVSS v3.1
8.8
High
| Vector | AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
snorkel versions prior to 0.10.1
Description
Insecure deserialization occurs in the
Trainer.load() method of the Trainer class. The method utilizes torch.load() to load model checkpoint files without enabling the weights only=True parameter. This allows the deserialization of arbitrary Python objects via the Pickle module (a Python module used for serializing and deserializing objects), which can enable a remote attacker to execute arbitrary code on the system by providing a maliciously crafted model file.Recommendations
Update to a version later than 0.10.0.
As a temporary workaround, restrict the loading of model files from untrusted sources when using the
Trainer.load() method.Fix
Deserialization of Untrusted Data
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Snorkel