CyberSecBulletin

Huggingface vulnerabilities

We track 22 vulnerabilities in Huggingface products across 10 products. 22 are rated high or critical, and none are known to be exploited. The most recent was published on October 23, 2026.

22vulnerabilities
5critical
17high
0exploited
8.4average CVSS score

Latest Huggingface vulnerabilities

  • 8.8 High severity

    datasets: Deserialization of Untrusted Data

    CVE-2026-57845Huggingface

    Hugging Face Datasets before 5.2.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. Attackers can supply a pickl

  • 7.1 High severity

    accelerate: Improper Limitation of a Pathname to a Restricted Directory

    CVE-2026-69112Huggingface

    Hugging Face Accelerate through 1.14.0 contains a path traversal vulnerability in load_checkpoint_in_model and load_checkpoint_and_dispatch functions that fail to sanitize weight_map entries from sharded checkpoint indexes. Attackers can supply relative paths

  • 8.8 High severity

    peft: Deserialization of Untrusted Data

    CVE-2026-71281Huggingface

    Hugging 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) call torch.load on config-specified cache/covariance files without weights_only=True, bypassing peft'

  • 7.1 High severity

    huggingface/transformers: Improper Limitation of a Pathname to a Restricted Directory

    CVE-2026-9856Huggingface

    A vulnerability in huggingface/transformers versions <=5.8.0.dev0 allows an attacker to perform arbitrary file writes via path traversal. The issue resides in the `save_pretrained()` methods of `PreTrainedTokenizerBase` and `ProcessorMixin`, where keys from th

  • 8.6 High severity

    text-generation-inference: Server-Side Request Forgery

    CVE-2026-63086Huggingface

    text-generation-inference through 3.3.7 contains a server-side request forgery (SSRF) vulnerability in the OpenAI-compatible multimodal chat completions endpoint that allows unauthenticated network attackers to coerce the server into issuing arbitrary HTTP GET

  • 7.5 High severity

    diffusers: Time-of-check Time-of-use (TOCTOU) Race Condition

    CVE-2026-45804Huggingface

    Diffusers is the a library for pretrained diffusion models. Prior to 0.38.0, Diffusers' DiffusionPipeline.from_pretrained flow can bypass the trust_remote_code guard because download() validates model_index.json and custom pipeline code before later loading fr

  • 9.6 Critical severity

    huggingface/transformers: Inclusion of Functionality from Untrusted Control Sphere

    CVE-2026-5241Huggingface

    A vulnerability in the LightGlue model loading path of huggingface/transformers version 5.2.0 allows an attacker-controlled model repository to execute arbitrary code during model initialization. The issue arises because the `trust_remote_code` parameter, inte

  • 7.8 High severity

    huggingface/transformers: Deserialization of Untrusted Data

    CVE-2026-4372Huggingface

    A critical remote code execution vulnerability exists in all versions of the HuggingFace transformers library prior to version 5.3.0. The vulnerability allows an attacker to craft a malicious `config.json` file containing the `_attn_implementation_internal` fi

  • 8.8 High severity

    diffusers: Improper Control of Generation of Code

    CVE-2026-44827Huggingface

    Diffusers 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 safeguard when loading pipelines from Hugging Face Hub repositories. The _resolve_custom_pipeline_and_

  • 8.8 High severity

    diffusers: Improper Control of Generation of Code

    CVE-2026-44513HuggingfaceEPSS 1.07%

    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 omitting it, which is the d

  • 7.8 High severity

    huggingface/transformers: Deserialization of Untrusted Data

    CVE-2026-1839Huggingface

    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 the `weights_only=True`

  • 10.0 Critical severity

    smolagents: Improper Neutralization of Special Elements in Output Used by a Downstream Component

    CVE-2026-4963Huggingface

    A 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/smolagents/local_python_executor.py of the component Incomplete Fix CVE-2025-9959. This manipulation

  • 9.8 Critical severity

    smolagents: Server-Side Request Forgery

    CVE-2026-2654Huggingface

    A weakness has been identified in huggingface smolagents 1.24.0. Impacted is the function requests.get/requests.post of the component LocalPythonExecutor. Executing a manipulation can lead to server-side request forgery. It is possible to launch the attack rem

  • 7.5 High severity

    huggingface/text-generation-inference: Uncontrolled Resource Consumption

    CVE-2026-0599HuggingfaceEPSS 29.5%

    A vulnerability in huggingface/text-generation-inference version 3.3.6 allows unauthenticated remote attackers to exploit unbounded external image fetching during input validation in VLM mode. The issue arises when the router scans inputs for Markdown image li

  • 7.5 High severity

    huggingface/transformers: Uncontrolled Resource Consumption

    CVE-2025-6921Huggingface

    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 processes user-controlled regul

  • 7.5 High severity

    huggingface/transformers: Inefficient Regular Expression Complexity

    CVE-2025-6638Huggingface

    A Regular Expression Denial of Service (ReDoS) vulnerability was discovered in the Hugging Face Transformers library, specifically affecting the MarianTokenizer's `remove_language_code()` method. This vulnerability is present in version 4.52.4 and has been fix

  • 10.0 Critical severity

    huggingface/smolagents: Improper Control of Generation of Code

    CVE-2025-5120HuggingfaceEPSS 31.2%

    A sandbox escape vulnerability was identified in huggingface/smolagents version 1.14.0, allowing attackers to bypass the restricted execution environment and achieve remote code execution (RCE). The vulnerability stems from the local_python_executor.py module,

  • 7.5 High severity

    huggingface/transformers: Inefficient Regular Expression Complexity

    CVE-2025-3262Huggingface

    A Regular Expression Denial of Service (ReDoS) vulnerability was discovered in the huggingface/transformers repository, specifically in version 4.49.0. The vulnerability is due to inefficient regular expression complexity in the `SETTING_RE` variable within th

  • 7.5 High severity

    huggingface/transformers: Inefficient Regular Expression Complexity

    CVE-2025-2099Huggingface

    A vulnerability in the `preprocess_string()` function of the `transformers.testing_utils` module in huggingface/transformers version v4.48.3 allows for a Regular Expression Denial of Service (ReDoS) attack. The regular expression used to process code blocks in

  • 7.5 High severity

    huggingface/transformers: Inefficient Regular Expression Complexity

    CVE-2024-12720Huggingface

    A Regular Expression Denial of Service (ReDoS) vulnerability was identified in the huggingface/transformers library, specifically in the file tokenization_nougat_fast.py. The vulnerability occurs in the post_process_single() function, where a regular expressio

  • 8.8 High severity

    Transformers: Deserialization of Untrusted Data

    CVE-2024-11392Hugging FaceEPSS 7.72%

    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 interaction is requir

  • 9.6 Critical severity

    huggingface/transformers: Deserialization of Untrusted Data

    CVE-2024-3568HuggingfaceEPSS 2.08%

    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 and commands by craft