Read the docs

Authentication bypass in Gradio via forged Host header

Priority LOW 37CWE-290Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
High
Attack requirements
Present
Impact type
Security bypass
Confidentiality · integrity · availability
High · Low · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-290.

Summary

Gradio from 6.27.0 before 6.32.0 contains an authentication bypass in gradio/history.py that lets a remote unauthenticated attacker act on the operator's Hugging Face token by sending a forged Host header of localhost (CWE-290). When ssr_mode is enabled, requests proxied through the local Node SSR server pass the loopback check, letting attackers list, read and write run history buckets under the operator's account. The CVSS 4.0 base score is 8.3 (HIGH) and the vector requires high attack complexity and attack requirements.

Written with Claude Haiku 5.5 from the sources below · 2026-11-23

Description from the CNA

Gradio 6.27.0 before 6.32.0 contains an authentication bypass vulnerability in gradio/history.py that allows remote unauthenticated attackers to use the operator's locally saved Hugging Face token by sending a forged Host: localhost header. When ssr_mode is enabled, requests proxied through the local Node SSR server pass the loopback check, letting attackers call run history endpoints to list buckets, read records and assets, and write buckets under the operator's account.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00595 42nd percentileScored 2026-11-30
Fix Fixed Gradio (Gradio): 6.32.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
GradioGradio6.27.0 to before 6.32.06.32.0Patch availableCNA
  • Gradio VendorGradio Affected 6.27.0 to before 6.32.0 Fixed in 6.32.0 Patch available CNA

Remediation

Update Gradio to version 6.32.0 or later, which fixes the flaw in Gradio 6.27.0 before 6.32.0. The sources list no fix or advisory identifier beyond this version.

Written with Claude Haiku 5.5 from the sources below · 2026-11-23

  • Fix · CNA Gradio (Gradio) Fixed in 6.32.0

Timeline

  1. 2026-11-22 Threatist record created from CVE-2026-134825
  2. 2026-11-23 Alias added: GHSA-4cx6-qfwr-9vfq
  3. 2026-11-24 CISA SSVC decision points changed
  4. 2026-11-25 EPSS moved to the below the 50th percentile

References

  • TI-2024-08326 Denial of Service in gradio-app/gradio CVSS 3.1HIGH 7.5

Sources