> CVE-2026-31222

« BACK_TO_HOME
PUBLISHED
2026-05-12 16:16
MODIFIED
2026-05-12 16:38
EPSS (Prob. Exploit)
0.69%
Top 47.8%
DATA SOURCES:
NVD 🔗 2026-05-12 FIRST EPSS 🔗 2026-10-25 GITHUB 🔗 2026-11-05 OSV 🔗 2026-09-13

> 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.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> GITHUB SECURITY ADVISORY

GHSA-78cp-f66x-qmh5 HIGH

Snorkel Trainer.load uses an unsafe torch.load

AFFECTED PACKAGES:
PIP / snorkel
<= 0.10.0

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

AFFECTED PACKAGES:
Unknown / Unknown
18 versions affected
ALIASES:
GHSA-78cp-f66x-qmh5, PYSEC-2026-3068

> HISTORIQUE DES MODIFICATIONS

Première apparition
12/05/2026 16:16
Source: NVD
Total des modifications: 0 Dernière mise à jour: 5 months ago

> REFERENCES

https://github.com/snorkel-team/snorkel
https://www.notion.so/CVE-2026-31222-35d1e139318881db8398e0732af8df6d
« BACK_TO_HOME