Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
Transformers versions before 5.0.0rc3 are affected by arbitrary code execution through the Trainer class. The _load_rng_state() method calls torch.load() without weights_only=True, and the issue applies when PyTorch is below 2.6. An attacker who supplies a malicious checkpoint file, such as an RNG state file, can run arbitrary code when it is loaded. Upgrade to transformers 5.0.0rc3 or later.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 6.5 | Medium | 3.0 | CVSS:3.0/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:H | CNA (@huntr_ai) |
- CISA KEV Not listed.
- EPSS 0.0039, the 33rd percentile, on 11 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:34 UTC First seen by agentprime
- 31 Oct 2026, 14:34 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-69w3-r845-3855
- OSV: GHSA-69w3-r845-3855
- nvd.nist.gov/vuln/detail/CVE-2026-1839
- github.com/huggingface/transformers/commit/03c8082ba4594c9b8d6fe190ca9bed0e5f8ca396
- github.com/huggingface/transformers
- github.com/huggingface/transformers/releases/tag/v5.0.0rc3
- huntr.com/bounties/3c77bb97-e493-493d-9a88-c57f5c536485