huggingface has 7 CVEs on record between 2025 and 2026. 2 were published in the last 90 days. The median CVSS is 6.6 (medium). None have a confirmed exploitation report. Most affected products: transformers (3), datasets (2), diffusers (1).
CVEs per month
Last 12 months, by publish date
- Exploited share
- 0% vs 1% corpus
- Median CVSS
- 6.6
- Publish → KEV
- —
- Last 90 days
- 2 prev 2
Weakness classes
Products
- transformers 3
- datasets 2
- diffusers 1
- smolagents 1
Worst active — by depth score
CVE-2026-57845High· 8.8Hugging Face Datasets through 5.1.0 Pickle Deserialization RCE via Pandas Builder61CVE-2026-44513High· 8.8Diffusers is the a library for pretrained diffusion models49CVE-2026-65010Medium· 6.6Datasets Symlink-following Arbitrary File Write via Extractor.extract()48CVE-2026-75104Medium· 5.5Hugging Face Transformers fails to validate shard filenames in checkpoint index files, allowing attackers to read arbitrary files outside the model directory42CVE-2025-11844Medium· 5.4Hugging Face Smolagents version 1.20.0 contains an XPath injection vulnerability in the search_item_ctrl_f function located in src/smolagents/vision_web_browser.py42
huggingface vulnerabilities
CVEs affecting huggingface, newest first. Open any entry for full detail, references, and exploit status.
7 CVEsRSS
CVE-2026-57845High· 8.8PoCHugging Face Datasets through 5.1.0 Pickle Deserialization RCE via Pandas Builder
Hugging Face Datasets through 5.1.0 contains an insecure deserialization vulnerability that allows attackers to execute arbitrary Python code by crafting a malicious pickle file loaded through the deprecated pandas packaged builder. Atta…
CVE-2026-75104Medium· 5.5PoCHugging Face Transformers fails to validate shard filenames in checkpoint index files, allowing attackers to read arbitrary files outside the model directory
Hugging Face Transformers fails to validate shard filenames in checkpoint index files, allowing attackers to read arbitrary files outside the model directory. Attackers can supply malicious index files with parent-directory references or…
CVE-2026-65010Medium· 6.6PoCDatasets Symlink-following Arbitrary File Write via Extractor.extract()
Datasets through 5.00, fixed in commit ad2d853, contains a symlink-following vulnerability in Extractor.extract() that allows local attackers to write arbitrary files by pre-planting symlinks at predictable output paths. Attackers can re…
CVE-2026-44513High· 8.8Diffusers is the a library for pretrained diffusion models
Diffusers is the a library for pretrained diffusion models. Prior to 0.38.0, a trust_remote_code bypass in DiffusionPipeline.from_pretrained allows arbitrary remote code execution despite the user passing trust_remote_code=False (or omi…
CVE-2025-11844Medium· 5.4PoCHugging Face Smolagents version 1.20.0 contains an XPath injection vulnerability in the search_item_ctrl_f function located in src/smolagents/vision_web_browser.py
Hugging Face Smolagents version 1.20.0 contains an XPath injection vulnerability in the search_item_ctrl_f function located in src/smolagents/vision_web_browser.py. The function constructs an XPath query by directly concatenating user-su…
CVE-2025-6921High· 7.5⚖ disputedThe huggingface/transformers library, versions prior to 4.53.0, is vulnerable to Regular Expression Denial of Service (ReDoS) in the AdamWeightDecay optimizer
The huggingface/transformers library, versions prior to 4.53.0, is vulnerable to Regular Expression Denial of Service (ReDoS) in the AdamWeightDecay optimizer. The vulnerability arises from the _do_use_weight_decay method, which processe…
CVE-2025-6051Medium· 5.3A Regular Expression Denial of Service (ReDoS) vulnerability was discovered in the Hugging Face Transformers library, specifically within the `normalize_numbers()` method of the `EnglishNormalizer` class
A Regular Expression Denial of Service (ReDoS) vulnerability was discovered in the Hugging Face Transformers library, specifically within the `normalize_numbers()` method of the `EnglishNormalizer` class. This vulnerability affects versi…