Gradio 6.27.0 before 6.32.0 Authentication Bypass via Forged Host Header
CVE-2026-134825Published 22 Nov 2026, 21:21 UTC
Real-world risk
1.4/ 10Low
Routine
If the vulnerable configuration applies to you: 3.1
PreliminaryFrom the CVSS vector only · confidence low
CVSS
8.3
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from VulnCheck)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| gradioNiche | >= 6.27.0, < 6.32.0 | 6.32.0 |
What to do
Update to a fixed version: 6.32.0.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Major data exposureReads secrets, credentials, databases, arbitrary files | From the CVSS vector | 0.80 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | UncommonNeeds a non-default feature that a minority enables | From the CVSS vector | 0.45 |
| Reliability | HardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bug | From the CVSS vector | 0.45 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.9% chance of exploitation in 30 days (percentile 62), as of 2026-12-03.
The arithmetic
- Prerequisites multiplied together0.203
- Threat T1: Nothing known0.850
- 10 × impact 0.8 × prerequisites 0.2025 × threat 0.851.377
- Rounded to one decimal between 0.1 and 101.4
Exploitation and evidence timeline
- 22 Nov 2026 Published
- 3 Dec 2026 Risk 1.4 (cvss fallback)
Weakness
CWE-290
References
- https://github.com/gradio-app/gradio/pull/14050issue-tracking, patch
- https://github.com/gradio-app/gradio/commit/fda8037b83f316454e96201dfad96e50944f8547patch
- https://github.com/gradio-app/gradio/releases/tag/gradio%406.32.0release-notes
- https://github.com/gradio-app/gradio/blob/gradio%406.31.0/gradio/history.py#L521-L559technical-description
- https://www.vulncheck.com/advisories/gradio-6.27.0-before-6.32.0-authentication-bypass-via-forged-host-headerthird-party-advisory
- CVE-2026-134825 on CVE.org