Skip to content
HighVulnerability

CVE-2026-31222: snorkel Trainer.load() insecure deserialization of model checkpoint files

Identifier
CVE-2026-31222
Published
Record updated
View JSON
Affected
  • snorkel <= 0.10.0
Fixed in
No fixed version was stated when the source was last read.
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.7%

Summary

CVE-2026-31222 affects the snorkel library through v0.10.0, where the Trainer.load() method in the Trainer class loads checkpoint files with torch.load() without setting weights_only=True. Because this leaves Pickle deserialization of arbitrary Python objects enabled, an attacker who supplies a maliciously crafted model file can achieve arbitrary code execution on the victim's system when the file is loaded.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.