CVE-2026-31224: n/a
The snorkel library up to version 0.10.0 has an insecure deserialization vulnerability in the MultitaskClassifier.load() method. This method uses torch.load() without the security-restrictive weights_only=True parameter, allowing arbitrary Python object deserialization via Pickle. A remote attacker can exploit this by supplying a crafted model file, potentially leading to arbitrary code execution when the file is loaded.
AI Analysis
Technical Summary
CVE-2026-31224 describes an insecure deserialization vulnerability (CWE-502) in the snorkel library's MultitaskClassifier.load() method. The vulnerability arises because torch.load() is called without the weights_only=True parameter, which would restrict deserialization to tensor weights only. Without this restriction, the method can deserialize arbitrary Python objects from a maliciously crafted model file, enabling remote attackers to execute arbitrary code on the victim system upon loading the file.
Potential Impact
Successful exploitation allows remote attackers to execute arbitrary code on affected systems by providing malicious model files to the vulnerable load() method. This can lead to full compromise of the system running the vulnerable snorkel library version. The CVSS score of 8.8 reflects high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should avoid loading untrusted model files with the vulnerable MultitaskClassifier.load() method. If possible, manually verify or modify the code to use torch.load() with weights_only=True to mitigate the risk of arbitrary code execution.
CVE-2026-31224: n/a
Description
The snorkel library up to version 0.10.0 has an insecure deserialization vulnerability in the MultitaskClassifier.load() method. This method uses torch.load() without the security-restrictive weights_only=True parameter, allowing arbitrary Python object deserialization via Pickle. A remote attacker can exploit this by supplying a crafted model file, potentially leading to arbitrary code execution when the file is loaded.
CVSS v3.1
Score 8.8high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-31224 describes an insecure deserialization vulnerability (CWE-502) in the snorkel library's MultitaskClassifier.load() method. The vulnerability arises because torch.load() is called without the weights_only=True parameter, which would restrict deserialization to tensor weights only. Without this restriction, the method can deserialize arbitrary Python objects from a maliciously crafted model file, enabling remote attackers to execute arbitrary code on the victim system upon loading the file.
Potential Impact
Successful exploitation allows remote attackers to execute arbitrary code on affected systems by providing malicious model files to the vulnerable load() method. This can lead to full compromise of the system running the vulnerable snorkel library version. The CVSS score of 8.8 reflects high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should avoid loading untrusted model files with the vulnerable MultitaskClassifier.load() method. If possible, manually verify or modify the code to use torch.load() with weights_only=True to mitigate the risk of arbitrary code execution.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- mitre
- Date Reserved
- 2026-03-09T00:00:00.000Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a034c88cbff5d8610fea6d3
Added to database: 05/12/2026, 15:51:36 UTC
Last enriched: 05/19/2026, 18:47:42 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 47
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.