CVE-2023-6730criticalCode execution2023-12-19
CVE-2023-6730: transformers has a Deserialization of Untrusted Data vulnerability
Deserialization of Untrusted Data in GitHub repository huggingface/transformers prior to 4.36.0.
What it is
Deserialization of Untrusted Data in GitHub repository huggingface/transformers prior to 4.36.0.
How to check
- Affected: transformers (pip) < 4.36.0.
- Compare your installed version with the range above (command below).
How to fix
- Upgrade transformers to 4.36.0 or later.
pip show transformers | grep Version Sources
More advisories for this tool
- criticalMalicious PyPI packages qwen-tts-cpu and qwen-tts-runtime pose as Qwen text-to-speech add-ons and download and run remote code
- highCVE-2026-139989: The languagemodels Python package rendered Hugging Face chat templates in an unsandboxed Jinja2 environment, so a malicious model repo could run commands
- highCVE-2026-57845: Loading a dataset with Hugging Face Datasets' pandas builder can run attacker code
- highCVE-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.0