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.

Project Subscriptions

Vendors Products
Huggingface Subscribe
Transformers Subscribe
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

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

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-12-06T18:29:29.007Z

Reserved: 2026-12-06T15:46:49.415Z

Link: CVE-2026-145808

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-12-06T19:16:56.627

Modified: 2026-12-06T19:16:56.627

Link: CVE-2026-145808

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-12-06T21:42:04Z

Weaknesses