CVE-2026-31222CWE-502insecure-deserialization

CVE-2026-31222

High · published May 12, 2026

CVSS v3.1
8.8
EPSS
1%
Percentile
52.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00687 · 52.1th percentile
Weakness
CWE-502 · Deserialization of Untrusted Data
Published
2026-05-12T20:16Z
Affected products (1)
ProductVersionsFixed in
snorkel/snorkel≤ 0.10.0—
References (2)
EPSS history
Timeline
  • 12 MAY 00:00Z
    The snorkel library thru v0.10.0 contains an insecure deserialization vulnerability (CWE-502) in the Trainer.load() method of the Trainer class
    cvelistv5