CVE-2026-31222: n/a
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.
AI Analysis
Technical Summary
The snorkel library versions through 0.10.0 contain an insecure deserialization vulnerability (CWE-502) in the Trainer.load() method. This method loads model checkpoint files using torch.load() without the weights_only=True parameter, which restricts deserialization to tensor weights only. Because the default behavior permits deserialization of arbitrary Python objects via Pickle, an attacker can craft a malicious model file that, when loaded, results in arbitrary code execution on the victim system. The vulnerability is due to unsafe deserialization practices in the model loading process.
Potential Impact
An attacker who can supply a malicious model checkpoint file to the vulnerable Trainer.load() method may achieve arbitrary code execution on the system running the snorkel library. This could lead to full compromise of the affected environment. There are no reports of active exploitation in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should avoid loading untrusted or unauthenticated model checkpoint files with the vulnerable Trainer.load() method. Consider manually verifying or restricting model file sources and monitor for vendor updates addressing this issue.
CVE-2026-31222: n/a
Description
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The snorkel library versions through 0.10.0 contain an insecure deserialization vulnerability (CWE-502) in the Trainer.load() method. This method loads model checkpoint files using torch.load() without the weights_only=True parameter, which restricts deserialization to tensor weights only. Because the default behavior permits deserialization of arbitrary Python objects via Pickle, an attacker can craft a malicious model file that, when loaded, results in arbitrary code execution on the victim system. The vulnerability is due to unsafe deserialization practices in the model loading process.
Potential Impact
An attacker who can supply a malicious model checkpoint file to the vulnerable Trainer.load() method may achieve arbitrary code execution on the system running the snorkel library. This could lead to full compromise of the affected environment. There are no reports of active exploitation in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should avoid loading untrusted or unauthenticated model checkpoint files with the vulnerable Trainer.load() method. Consider manually verifying or restricting model file sources and monitor for vendor updates addressing this issue.
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: 6a034c84cbff5d8610fe99ea
Added to database: 5/12/2026, 3:51:32 PM
Last enriched: 5/12/2026, 4:07:45 PM
Last updated: 5/13/2026, 4:58:36 AM
Views: 3
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.