transformers
PyPI8 known CVEs affecting this package
Aggregated from OSV, GitHub Security Advisories, NVD, and vendor advisories. Each CVE links to its full detail page with vendor advisories, patches, fixed versions, and remediation guidance.
CVEs affecting transformerspage 1 of 1
- CVE-2023-2800MEDIUMCVSS 4.7EG 4.7✓ Fixed in 4.30.02023-05-18
vulnerable: 0.1 ... 4.9.2 (110 versions)
Insecure Temporary File in GitHub repository huggingface/transformers prior to 4.30.0.
- CVE-2023-6730HIGHCVSS 8.8EG 8.8✓ Fixed in 4.36.02023-12-19
vulnerable: 0.1 ... 4.9.2 (125 versions)
Deserialization of Untrusted Data in GitHub repository huggingface/transformers prior to 4.36.
- CVE-2023-7018HIGHCVSS 7.8EG 7.8✓ Fixed in 4.36.02023-12-20
vulnerable: 0.1 ... 4.9.2 (125 versions)
Deserialization of Untrusted Data in GitHub repository huggingface/transformers prior to 4.36.
- CVE-2024-11392HIGHCVSS 8.8EG 8.8✓ Fixed in 4.48.02024-11-22
vulnerable: 0.1 ... 4.9.2 (166 versions)
Hugging Face Transformers MobileViTV2 Deserialization of Untrusted Data Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Hugging Face Transformers. User …
- CVE-2024-11393HIGHCVSS 8.8EG 8.8✓ Fixed in 4.48.02024-11-22
vulnerable: 0.1 ... 4.9.2 (166 versions)
Hugging 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. …
- CVE-2024-11394HIGHCVSS 8.8EG 8.8✓ Fixed in 4.48.02024-11-22
vulnerable: 0.1 ... 4.9.2 (166 versions)
Hugging 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. User i…
- CVE-2024-3568CRITICALCVSS 9.6EG 9.6✓ Fixed in 4.38.02024-04-10
vulnerable: 0.1 ... 4.9.2 (131 versions)
The huggingface/transformers library is vulnerable to arbitrary code execution through deserialization of untrusted data within the `load_repo_checkpoint()` function of the `TFPreTrainedModel()` class. Attackers can execute arbitrary code …
- CVE-2026-1839HIGHCVSS 7.8EG 7.8✓ Fixed in 5.0.0rc32026-04-07
vulnerable: 0.1 ... 5.0.0rc2 (208 versions)
A vulnerability in the HuggingFace Transformers library, specifically in the `Trainer` class, allows for arbitrary code execution. The `_load_rng_state()` method in `src/transformers/trainer.py` at line 3059 calls `torch.load()` without th…
Check whether transformers is used in your infrastructure
EchelonGraph scans your cloud and SBOMs to map every package to your actual deployments. See blast radius for transformers CVEs against the assets you own.
Start Free Scan →