Lucene search
+L

2 matches found

RedhatCVE
RedhatCVE
•added 2026/04/07 5:54 p.m.•20 views

CVE-2026-1839

A flaw was found in HuggingFace Transformers. A remote attacker can exploit this vulnerability by supplying a specially crafted checkpoint file e.g., rngstate.pth. The loadrngstate method in the Trainer class loads this file using torch.load without proper validation, specifically missing the...

7.8CVSS7.2AI score0.00382EPSS
SaveExploits1References5
osv_cve
osv_cve
•added 2026/04/07 5:22 a.m.•24 views

CVE-2026-1839 Arbitrary Code Execution via Unsafe torch.load() in Trainer Checkpoint Loading in huggingface/transformers

A vulnerability in the HuggingFace Transformers library, specifically in the Trainer class, allows for arbitrary code execution. The loadrngstate method in src/transformers/trainer.py at line 3059 calls torch.load without the weightsonly=True parameter. This issue affects all versions of the...

6.5CVSS7AI score
SaveExploits0References4
Rows per page
Query Builder