HighVulnerability
CVE-2026-31222: snorkel Trainer.load() insecure deserialization of model checkpoint files
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-31222
- Published
- Record updated
- 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.
Related items
- MediumCyberXero Uses Claude Code in Campaign That Stole Over 628,000 Ukrainian RecordsSimilar attack · The Hacker News
- MediumCVE-2026-108597: Cohere Python SDK path traversal in model archive extractionSimilar attack · NVD/CVE Database
- InfoStepSecurity Now Inventories AI Agent Skills in Your GitHub Repositories and on Developer Machines Similar attack · StepSecurity Blog
- LowCVE-2026-107288: Pydantic AI web fetch bypasses blocked_domains via hostname variantsSimilar attack · NVD/CVE Database
- LowOAuth grants pile up faster than you can review them. Here's how to keep up.Similar attack · BleepingComputer