HackerFeeds
All CVEs

CVE-2026-145808: Hugging Face Transformers Incorrect Authorization

HIGH7.5

Published 2026-12-06 · Source disclosure@vulncheck.com

Not known to be exploited · high severity — update Hugging Face Transformers to 5.25.0 or later in your next patch cycle.

What to do

  1. Update Hugging Face Transformers to version 5.25.0 or later. Versions before 5.25.0 are affected.
  2. Until it is patched, do not leave Hugging Face Transformers reachable from the internet or other untrusted networks; restrict access by firewall, VPN or allow-list.
  3. Restrict access to the affected feature and review logs for use by accounts that should not have it.

Affected and fixed versions

ProductAffectedFixed in
Hugging Face Transformers< 5.25.05.25.0

Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.

How it can be exploited

It can be exploited remotely over the network; the attacker does not need an account, and no action by a victim is required. Attack complexity is low, so a working exploit is expected to be reliable. The impact on availability is rated high.

CVSS 3.1 metrics for CVE-2026-145808
Attack vectorNetworkIt can be exploited remotely over the network.
Attack complexityLowNo special conditions are needed; the attack is repeatable.
Privileges requiredNoneThe attacker does not need an account.
User interactionNoneNo action by a victim is needed.
ConfidentialityNoneNo effect on confidentiality.
IntegrityNoneNo effect on integrity.
AvailabilityHighTotal loss of availability.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Weakness: Incorrect Authorization

An authorization check exists but is wrong, so users can perform actions they should not be allowed to.

Classified as CWE-863.

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.

Advisory text as published in the NVD record.

View on NVD