VU#456290: Hugging Face Transformers library writes remote code to disk prior to...
CERT Coordination Center @certcc@infosec.exchange
VU#456290: Hugging Face Transformers library writes remote code to disk prior to consent check https://kb.cert.org/vuls/id/456290
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 trust_remote_code consent prompt, violating the security contract enforced