CVE-2026-1839
Fix Status by Distribution
Fixed in 0 of 27 tracked Linux releases
Fix evidence last checked: 2026-10-15 11:37 UTC
Get alerted when your releases are fixedNo fix evidence found:
A flaw was found in HuggingFace Transformers. A remote attacker can exploit this vulnerability by supplying a specially crafted checkpoint file (e.g., `rng_state.pth`). The `_load_rng_state()` method in the `Trainer` class loads this file using `torch.load()` without proper validation, specifically missing the `weights_only=True` parameter. This issue primarily affects systems using PyTorch versions below 2.6. Successful exploitation can lead to arbitrary code execution on the system where the file is loaded.
Exploit evidence
Last checked: 2026-10-26 23:11 UTC
Proof of concept · CISA Coordinator (Assessed 2026-04-07 13:27 UTC)
Exploit reference · 134c704f-9b21-4f2e-91b3-4a467353bcc0 · View external evidence (Observed 2026-10-26 23:11 UTC)