CVE Catalog

CVE-2026-145808

HighCVSS 7.5
Published: Translated: NVD NIST

Summary

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.

Risk Assessment

Can lead to resource exhaustion and remote code execution if trust_remote_code is enabled, posing a serious threat to the host.

Recommendation

Update Hugging Face Transformers to version 5.25.0 or later and disable trust_remote_code if not required.

Other vulnerabilities in Hugging Face Transformers

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS