LLM frameworks · Hugging Face
Hugging Face
transformers and the Hugging Face model hub.
9Advisories
2critical
6high
1medium
2026-11-30Latest
Timeline · advisories per quarter
12023 Q4
22024 Q4
12026 Q2
52026 Q4
Named in sources
Reported for Hugging Face
01. CVE-2023-6730: transformers has a Deserialization of Untrusted Data vulnerabilityDeserialization of Untrusted Data in GitHub repository huggingface/transformers prior to 4.36.0.
Hugging Face 2023-12-19 02. CVE-2026-139989: The languagemodels Python package rendered Hugging Face chat templates in an unsandboxed Jinja2 environment, so a malicious model repo could run commandslanguagemodels 1.0.0 contains a template injection in Config.use_hf_model. Someone who controls a Hugging Face model repository can put a crafted chat_template in tokenizer_config.json; because languagemodels renders it with an unsandboxed jinja2 environment, the template can reach the os module and run commands with the victim process's privileges when the user loads that model.
Hugging Face 2026-11-30 03. CVE-2026-57845: Loading a dataset with Hugging Face Datasets' pandas builder can run attacker codeHugging Face Datasets through 5.1.0 unpickles files passed to its deprecated pandas builder without any check. If you call load_dataset("pandas", data_files=...) on a pickle file an attacker made, their code runs with your process's permissions. A fix is open as a pull request but no patched release exists yet.
Hugging Face 2026-10-23 04. CVE-2024-11393: Deserialization of Untrusted Data in Hugging Face TransformersHugging Face Transformers MaskFormer Model Deserialization of Untrusted Data Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Hugging Face Transformers.
Hugging Face 2024-11-23 05. CVE-2024-11394: Deserialization of Untrusted Data in Hugging Face TransformersHugging Face Transformers Trax Model Deserialization of Untrusted Data Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Hugging Face Transformers.
Hugging Face 2024-11-23
Same pattern
Also worth checking
01. Malicious PyPI packages qwen-tts-cpu and qwen-tts-runtime pose as Qwen text-to-speech add-ons and download and run remote codeTwo PyPI packages named to look like CPU and runtime add-ons for Alibaba's Qwen3-TTS (the real package is qwen-tts from the Qwen Team) were reported as malicious on 27 November 2026. qwen-tts-cpu 0.3.0 and qwen-tts-runtime 0.3.0 belong to a campaign of loader packages that download and execute a script from a URL; the final payload wasn't captured, but the campaign is classed as clearly malicious. Both are gone from PyPI. Treat any machine that installed them as compromised.
Qwen
Hugging Face 2026-11-27 02. CVE-2026-114053 and four more: vLLM before 0.31.0 lets a request pick which processor code runs and lets anonymous clients crash or hang the server, upgrade to 0.31.0Five vLLM advisories fixed in 0.31.0. The worst lets a client set mm_processor_kwargs.code_revision so that, on a server running with --trust-remote-code, Transformers imports processor code from a different revision of the model repo, which means arbitrary Python in the vLLM API process. The other four let unauthenticated clients crash the engine, hang it while /health stays green, or exhaust memory.
vLLM
Hugging Face 2026-10-21 03. CVE-2026-46432: LMDeploy before 0.13.0 always loads models with trust_remote_code=True, so a malicious model repo runs codeLMDeploy before 0.13.0 hardcodes trust_remote_code=True when it calls Hugging Face Transformers to read a model's config, with no way to opt out. If someone can control the model path a server loads, for example through deployment config or a platform where users submit model IDs, pointing it at a malicious Hugging Face repo runs that repo's Python code in the serving process. Fixed in 0.13.0.
LMDeploy
Hugging Face 2026-05-21 04. CVE-2026-134825: Gradio 6.27–6.31 let unauthenticated visitors use the operator's saved Hugging Face token for run-history buckets by sending Host: localhost through the SSR server (fixed 6.32.0)Gradio, Hugging Face's Python library for AI demo apps, added run history that can be saved to a Hugging Face bucket. From 6.27.0 to before 6.32.0, gradio/history.py fell back to the token saved on the host (hf auth login) whenever a request looked local. With ssr_mode enabled, requests proxied through Gradio's local Node SSR server passed that loopback check, so a remote, unauthenticated visitor sending a forged Host: localhost header could call the run-history endpoints with the operator's token: list buckets, read records and assets, and write buckets under the operator's Hugging Face account. Fixed in 6.32.0, which uses the visitor's own token instead.
Gradio
Hugging Face 2026-11-22