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.
Metrics
Affected Vendors & Products
Advisories
No advisories yet.
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Sun, 06 Dec 2026 18:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Hugging Face Transformers before 5.25.0 Model Pin Bypass via /load_model | |
| First Time appeared |
Huggingface
Huggingface transformers |
|
| Weaknesses | CWE-863 | |
| CPEs | cpe:2.3:a:huggingface:transformers:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Huggingface
Huggingface transformers |
|
| References |
|
|
| Metrics |
cvssV3_1
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: VulnCheck
Published:
Updated: 2026-12-06T18:29:29.007Z
Reserved: 2026-12-06T15:46:49.415Z
Link: CVE-2026-145808
No data.
No data.
No data.
OpenCVE Enrichment
No data.
Weaknesses