Authentication bypass in Gradio via forged Host header
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
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
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
- 2026-11-22 Threatist record created from CVE-2026-134825
- 2026-11-23 Alias added: GHSA-4cx6-qfwr-9vfq
- 2026-11-24 CISA SSVC decision points changed
- 2026-11-25 EPSS moved to the below the 50th percentile
References
More Gradio vulnerabilities
- TI-2024-08326 Denial of Service in gradio-app/gradio CVSS 3.1HIGH 7.5
Sources
- CVE-2026-134825 · CVE Program
- CVE-2026-134825 · NVD
- FIRST EPSS
- GHSA-4cx6-qfwr-9vfq · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences