GHSA-gpx5-7xm4-229w

Suggest an improvement
Source
https://github.com/advisories/GHSA-gpx5-7xm4-229w
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-gpx5-7xm4-229w/GHSA-gpx5-7xm4-229w.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-gpx5-7xm4-229w
Aliases
  • CVE-2026-31224
Published
2026-05-12T18:30:38Z
Modified
2026-05-18T20:36:23.369028Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Snorkel MultitaskClassifier.load uses an unsafe torch.load
Details

The snorkel library thru v0.10.0 contains an insecure deserialization vulnerability (CWE-502) in the MultitaskClassifier.load() method of the MultitaskClassifier class. The method loads model weight 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.

Database specific
{
    "nvd_published_at": "2026-05-12T16:16:14Z",
    "cwe_ids": [
        "CWE-502"
    ],
    "github_reviewed_at": "2026-05-18T20:25:02Z",
    "severity": "HIGH",
    "github_reviewed": true
}
References

Affected packages

PyPI / snorkel

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
0.10.0

Affected versions

0.*
0.9.0
0.9.1
0.9.2
0.9.3
0.9.4
0.9.5
0.9.6
0.9.7
0.9.8
0.9.9
0.10.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-gpx5-7xm4-229w/GHSA-gpx5-7xm4-229w.json"