CVE 8.8 HIGH

CVE-2026-31222_CVE-2026-31222

8.8 / 10
HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

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 Analysis

Insecure deserialization vulnerability in the Trainer.load() method of the Trainer class, allowing arbitrary code execution via malicious model files

Basic Information

ID CVE-2026-31222
Source mitre
Published May 12, 2026 at 00:00
Modified May 15, 2026 at 18:05

Affected Product

Vendor snorkel-team
Product snorkel
Version v0.10.0
Affected Versions n/a n/a n/a

CWE Classification

AI Assessment

AI Score 8.8 / 10
AI Severity High
Vendor snorkel-team
Product snorkel
Version v0.10.0

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.