p PatchFirst

PatchFirst · Latest vulnerabilities

transformers 5.5.2: known vulnerabilities

The comparison for transformers 5.5.2 is incomplete. Review the confirmed matches below.

Filter vulnerabilities
Clear filters

Could not compare 4 records. The results are incomplete.

Vulnerabilities: 2

  1. CVE-2026-80047

    High · CVSS 7.8EPSS 0.1%No fix published

    Hugging Face Transformers library writes remote code to disk prior to consent check

    A vulnerability in Hugging Face Transformers (versions 4.57.0 to 5.16.1) allows remote Python files to be written to local disk without user consent when using GenerativePreTrainedModel.load_custom_generate(). The function fetches and caches a remote module file before performing the required trust_remote_code consent check, inverting the security model enforced by other code-loading paths (such as AutoConfig, AutoModel, and AutoTokenizer). As a result, attacker‑controlled Python code from custom_generate/generate.py is copied into the user’s ~/.cache/huggingface/modules directory even if the user declines the trust prompt. Although execution

    Published Updated
  2. CVE-2026-9856

    High · CVSS 7.1EPSS 0.46%Fix available

    Path Traversal in huggingface/transformers

    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 the `chat_template` dictionary are used directly as filenames without proper validation. An attacker can exploit this by publishing a malicious Hugging Face Hub repository with a crafted `tokenizer_config.json` file. When a victim downloads and saves the tokenizer or processor, the attacker-controlled keys can escape the intended save directory, enabling arbitrary file writes with attacker

    • Update to 5.10.0
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →