PT-2026-40063 · Pypi · Snorkel
Published
2026-05-12
·
Updated
2026-05-12
·
CVE-2026-31224
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
MultitaskClassifier.load() method of the MultitaskClassifier class. The method utilizes torch.load() to load model weight files without enabling the weights only=True parameter. This allows the deserialization of arbitrary Python objects via the Pickle module, which is a process of converting a byte stream back into an object. A remote attacker can provide a maliciously crafted model file to achieve arbitrary code execution on the victim's system.Recommendations
Update to a version later than 0.10.0.
As a temporary workaround, restrict the loading of model files to trusted sources only.
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