Huggingface

29 CVEs across 11 Huggingface products. Browse Huggingface vulnerabilities, severities, and proof-of-concept exploits.

Huggingface products with known CVEs

ProductCVEs
Transformers30
Huggingface/transformers20
Diffusers4
Smolagents4
Datasets2
Huggingface/smolagents2
Huggingface/text-Generation-Inference2
Lerobot2
Accelerate1
Peft1
Text-Generation-Inference1
Huggingface CVEs — newest first
CVESeverityScorePublishedSummary
CVE-2026-69112High7.12026-08-10Hugging Face Accelerate through 1.14.0 contains a path traversal vulnerability in load_checkpoint_in_model and load_checkpoint_and_dispatch functions that fail…
CVE-2026-71281High8.82026-08-05Hugging Face peft's LoRA-GA and CorDA initialization modules (src/peft/tuners/lora/corda.py lines ~102 and ~163, and src/peft/tuners/lora/loraga.py line ~101)…
CVE-2026-9856High7.12026-08-02A vulnerability in huggingface/transformers versions <=5.8.0.dev0 allows an attacker to perform arbitrary file writes via path traversal. The issue resides in…
CVE-2026-66007Medium6.52026-07-24Datasets through 5.0.0, fixed in commit f989ef9, contains a path traversal vulnerability in folder-based dataset builders where the file_name metadata field is…
CVE-2026-65010Medium6.62026-07-23Datasets through 5.00, fixed in commit ad2d853, contains a symlink-following vulnerability in Extractor.extract() that allows local attackers to write arbitrar…
CVE-2026-65920Medium4.32026-07-23Diffusers through 0.39.0, fixed in commit cee298c, contains a path traversal vulnerability in the _get_checkpoint_shard_files function that allows attackers to…
CVE-2026-63086High8.62026-07-16text-generation-inference through 3.3.7 contains a server-side request forgery (SSRF) vulnerability in the OpenAI-compatible multimodal chat completions endpoi…
CVE-2026-45804High7.52026-07-15Diffusers is the a library for pretrained diffusion models. Prior to 0.38.0, Diffusers' DiffusionPipeline.from_pretrained flow can bypass the trust_remote_code…
CVE-2026-5241Critical9.62026-06-03A vulnerability in the LightGlue model loading path of huggingface/transformers version 5.2.0 allows an attacker-controlled model repository to execute arbitra…
CVE-2026-4372High7.82026-05-24A critical remote code execution vulnerability exists in all versions of the HuggingFace transformers library prior to version 5.3.0. The vulnerability allows…
CVE-2026-44827High8.82026-05-14Diffusers is the a library for pretrained diffusion models. Prior to 0.38.0, diffusers 0.37.0 allows remote code execution without the trust_remote_code=True…
CVE-2026-44513High8.82026-05-14Diffusers is the a library for pretrained diffusion models. Prior to 0.38.0, a trust_remote_code bypass in DiffusionPipeline.from_pretrained allows arbitrary…
CVE-2026-25874Critical9.82026-04-23LeRobot through 0.5.1 contains an unsafe deserialization vulnerability in the async inference pipeline where pickle.loads() is used to deserialize data receive…
CVE-2026-1839High7.82026-04-07A vulnerability in the HuggingFace Transformers library, specifically in the `Trainer` class, allows for arbitrary code execution. The `_load_rng_state()` meth…
CVE-2026-4963Medium6.32026-03-27A weakness has been identified in huggingface smolagents 1.25.0.dev0. This affects the function evaluate_augassign/evaluate_call/evaluate_with of the file src/…
CVE-2026-2654Medium6.32026-02-18A weakness has been identified in huggingface smolagents 1.24.0. Impacted is the function requests.get/requests.post of the component LocalPythonExecutor. Exec…
CVE-2026-0599High7.52026-02-02A vulnerability in huggingface/text-generation-inference version 3.3.6 allows unauthenticated remote attackers to exploit unbounded external image fetching dur…
CVE-2025-14930High7.82025-12-23Hugging Face Transformers GLM4 Deserialization of Untrusted Data Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arb…
CVE-2025-14929High7.82025-12-23Hugging Face Transformers X-CLIP Checkpoint Conversion Deserialization of Untrusted Data Remote Code Execution Vulnerability. This vulnerability allows remote…
CVE-2025-14928High7.82025-12-23Hugging Face Transformers HuBERT convert_config Code Injection Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbit…
CVE-2025-14927High7.82025-12-23Hugging Face Transformers SEW-D convert_config Code Injection Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitr…
CVE-2025-14926High7.82025-12-23Hugging Face Transformers SEW convert_config Code Injection Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrar…
CVE-2025-14924High7.82025-12-23Hugging Face Transformers megatron_gpt2 Deserialization of Untrusted Data Remote Code Execution Vulnerability. This vulnerability allows remote attackers to ex…
CVE-2025-14921High7.82025-12-23Hugging Face Transformers Transformer-XL Model Deserialization of Untrusted Data Remote Code Execution Vulnerability. This vulnerability allows remote attacker…
CVE-2025-14920High7.82025-12-23Hugging Face Transformers Perceiver Model Deserialization of Untrusted Data Remote Code Execution Vulnerability. This vulnerability allows remote attackers to…
CVE-2025-11844Medium5.42025-10-22Hugging Face Smolagents version 1.20.0 contains an XPath injection vulnerability in the search_item_ctrl_f function located in src/smolagents/vision_web_browse…
CVE-2025-6921High7.52025-09-23The huggingface/transformers library, versions prior to 4.53.0, is vulnerable to Regular Expression Denial of Service (ReDoS) in the AdamWeightDecay optimizer…
CVE-2025-10772Medium6.32025-09-22A vulnerability was identified in huggingface LeRobot up to 0.3.3. Affected by this vulnerability is an unknown functionality of the file lerobot/common/robot_…
CVE-2025-6051Medium5.32025-09-14A Regular Expression Denial of Service (ReDoS) vulnerability was discovered in the Hugging Face Transformers library, specifically within the `normalize_number…
CVE-2025-6638High7.52025-09-12A Regular Expression Denial of Service (ReDoS) vulnerability was discovered in the Hugging Face Transformers library, specifically affecting the MarianTokenize…
CVE-2025-5197Medium5.32025-08-06A Regular Expression Denial of Service (ReDoS) vulnerability exists in the Hugging Face Transformers library, specifically in the `convert_tf_weight_name_to_pt…
CVE-2025-5120Critical10.02025-07-27A sandbox escape vulnerability was identified in huggingface/smolagents version 1.14.0, allowing attackers to bypass the restricted execution environment and a…
CVE-2025-3933Medium5.32025-07-11A Regular Expression Denial of Service (ReDoS) vulnerability was discovered in the Hugging Face Transformers library, specifically within the DonutProcessor cl…
CVE-2025-3777Low3.52025-07-07Hugging Face Transformers versions up to 4.49.0 are affected by an improper input validation vulnerability in the `image_utils.py` file. The vulnerability aris…
CVE-2025-3264Medium5.32025-07-07A Regular Expression Denial of Service (ReDoS) vulnerability was discovered in the Hugging Face Transformers library, specifically in the `get_imports()` funct…
CVE-2025-3263Medium5.32025-07-07A Regular Expression Denial of Service (ReDoS) vulnerability was discovered in the Hugging Face Transformers library, specifically in the `get_configuration_fi…
CVE-2025-3262High7.52025-07-07A Regular Expression Denial of Service (ReDoS) vulnerability was discovered in the huggingface/transformers repository, specifically in version 4.49.0. The vul…
CVE-2025-2099High7.52025-05-19A vulnerability in the `preprocess_string()` function of the `transformers.testing_utils` module in huggingface/transformers version v4.48.3 allows for a Regul…
CVE-2025-1194Medium6.52025-04-29A Regular Expression Denial of Service (ReDoS) vulnerability was identified in the huggingface/transformers library, specifically in the file `tokenization_gpt…
CVE-2024-12720High7.52025-03-20A Regular Expression Denial of Service (ReDoS) vulnerability was identified in the huggingface/transformers library, specifically in the file tokenization_noug…
CVE-2024-11394High8.82024-11-22Hugging Face Transformers Trax Model Deserialization of Untrusted Data Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execu…
CVE-2024-11393High8.82024-11-22Hugging Face Transformers MaskFormer Model Deserialization of Untrusted Data Remote Code Execution Vulnerability. This vulnerability allows remote attackers to…
CVE-2024-11392High8.82024-11-22Hugging Face Transformers MobileViTV2 Deserialization of Untrusted Data Remote Code Execution Vulnerability. This vulnerability allows remote attackers to exec…
CVE-2024-3924Medium4.42024-05-30A code injection vulnerability exists in the huggingface/text-generation-inference repository, specifically within the `autodocs.yml` workflow file. The vulner…
CVE-2024-3568Critical9.62024-04-10The huggingface/transformers library is vulnerable to arbitrary code execution through deserialization of untrusted data within the `load_repo_checkpoint()` fu…
CVE-2023-7018High7.82023-12-20Deserialization of Untrusted Data in GitHub repository huggingface/transformers prior to 4.36.
CVE-2023-6730High8.82023-12-19Deserialization of Untrusted Data in GitHub repository huggingface/transformers prior to 4.36.
CVE-2023-2800Medium4.72023-05-18Insecure Temporary File in GitHub repository huggingface/transformers prior to 4.30.0.