PT-2024-26627

CVE-2024-3568

·

Published

2024-04-10

·

Updated

2026-09-18

Description by

CVSS 3.1
9.6
Critical
MetricsAV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions huggingface/transformers (affected versions not specified)
Description The issue allows for arbitrary code execution through deserialization of untrusted data within the load repo checkpoint() function of the TFPreTrainedModel() class. Attackers can execute arbitrary code and commands by crafting a malicious serialized payload, exploiting the use of pickle.load() on data from potentially untrusted sources. This enables remote code execution (RCE) by deceiving victims into loading a seemingly harmless checkpoint during a normal training process, thereby enabling attackers to execute arbitrary code on the targeted machine.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploitability
Exploit
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-37Q5-V5QM-C9V8
PYSEC-2026-1978
Found an issue in the description? Have something to add? Feel free to write us 👾