High severity7.5NVD Advisory· Published Dec 6, 2026
CVE-2026-145808
CVE-2026-145808
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
1- Range: <5.25.0
Patches
Vulnerability mechanics
References
6- github.com/huggingface/transformers/blob/v5.24.1/src/transformers/cli/serving/server.pynvd
- github.com/huggingface/transformers/blob/v5.24.1/src/transformers/cli/serving/transcription.pynvd
- github.com/huggingface/transformers/commit/f6b7cbef762d0b5997a2dcab0a6ea33f28f68753nvd
- github.com/huggingface/transformers/pull/50927nvd
- github.com/huggingface/transformers/releases/tag/v5.25.0nvd
- www.vulncheck.com/advisories/hugging-face-transformers-before-5.25.0-model-pin-bypass-via-load-modelnvd
News mentions
0No linked articles in our index yet.