PYSEC-2026-3068

See a problem?
Import Source
https://github.com/pypa/advisory-database/blob/main/vulns/snorkel/PYSEC-2026-3068.yaml
JSON Data
https://api.osv.dev/v1/vulns/PYSEC-2026-3068
Aliases
Published
2026-07-13T15:15:45Z
Modified
2026-07-13T16:32:49Z
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 Trainer.load uses an unsafe torch.load
Details

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.

References

Affected packages

PyPI / snorkel

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown 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/pypa/advisory-database/blob/main/vulns/snorkel/PYSEC-2026-3068.yaml"