NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
🛡️
Not in CISA KEV
HIGH severity

CVE-2026-145808 — Huggingface

HIGHFix: huggingface/transformers@f6b7cbe

CVE-2026-145808 is a high-severity (CVSS 7.5) CWE-863 vulnerability. The records list no fixed version yet; check the vendor advisory below and apply the mitigations in the meantime.

Hugging Face Transformers before 5.25.0 fails to enforce the force_model pin in the serve command's /load_model and /v1/audio/transcriptions handlers, allowing unauthenticated clients…

Published
Updated
Affected
—
Patched
See advisory
Exploits
None indexed
Exploitation data as of Dec 6, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Description

Hugging Face Transformers before 5.25.0 fails to enforce the force_model pin in the serve command's /load_model and /v1/audio/transcriptions handlers, allowing unauthenticated clients to load arbitrary models. Attackers can load arbitrary local directories or Hub repositories that are never unloaded, exhausting host or GPU memory and, with trust_remote_code enabled, executing chosen repository code.

Detection & mitigation playbook

Vulnerability
  1. Detect

    Identify every host running the affected component and compare the installed build against the fixed version below — for source-built or distro-packaged software the version string, not a lockfile, is the source of truth (`dpkg -l`, `rpm -q`, or the binary's own `--version`).

  2. Remediation status

    The records we use list no fixed release for CVE-2026-145808. Check the upstream advisory for a patched version, and apply the exposure-reduction steps below in the meantime.

  3. Mitigate without a patch

    Put an independent control in front of the weakness: restrict the affected endpoint or interface to trusted networks, require an additional authentication factor or proxy-level check, and invalidate existing sessions and credentials in case the flaw has already been used.

Frequently Asked Questions

Hugging Face Transformers before 5.25.0 fails to enforce the force_model pin in the serve command's /load_model and /v1/audio/transcriptions handlers, allowing unauthenticated clients to load arbitrary models. Attackers can load arbitrary local directories or Hub repositories that are never unloaded, exhausting host or GPU memory and, with trust_remote_code enabled, executing chosen repository code.
O3 Security · Impact-Aware SCA

Is CVE-2026-145808 in your dependencies?

Find it across your dependency tree, including transitive dependencies.

CVE-2026-145808: Huggingface (High 7.5)