2 matches found
Hugging Face Transformers downloads custom generation code before trust consent
A vulnerability in Hugging Face Transformers versions 4.49.0, = 5.8.1 allows remote Python files to be written to local disk without user consent when using GenerativePreTrainedModel.loadcustomgenerate. The function fetches and caches a remote module file before performing the required...
Hugging Face Transformers library writes remote code to disk prior to consent check
Overview A vulnerability in the Hugging Face Transformers library versions 4.49.0 through 5.8.1 allows remote, attacker‑controlled Python files to be written to the local disk without user authorization. The library performs a remote module fetch and local cache write before evaluating the...