Skip to main content
VulnerabilityPublished

CVE-2026-145808: huggingface transformers · Incorrect Authorization

Affects huggingface transformersSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 8.7 High : upgrade to 5.25.0 soon.

Data as of 6 Dec 2026, 18:41 UTC

CVSS 4.0 base score
8.7High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (VulnCheck)CVSS 4.08.7
CNA (VulnCheck)CVSS 3.17.5
Patch
Available – fixed in 5.25.0
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 6 Dec 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 6 Dec 2026.

What to do

Upgrade huggingface transformers to 5.25.0.

Affected software

ProductAffectedFixed in
huggingfacetransformersAffected
  • <5.25.0
Fixed in
  • 5.25.0
PyPItransformerspkg:pypi/transformersOther threatsAffected
  • <5.25.0
Fixed in
  • 5.25.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade Hugging Face Transformers to version 5.25.0 or later, where this vulnerability is fixed. Until then, restrict access to the serve command endpoints and disable trust_remote_code if possible to reduce risk.

Description

Hugging Face Transformers versions prior to 5.25.0 contain an authorization flaw in the serve command's /load_model and /v1/audio/transcriptions handlers. This flaw allows unauthenticated clients to load arbitrary models, including local directories or Hub repositories, which remain loaded and can exhaust host or GPU memory. If the trust_remote_code option is enabled, attackers can also execute arbitrary code from chosen repositories. The vulnerability is fixed in version 5.25.0.

References

Community reviews

Loading reviews…