CVE-2026-134825
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 operat…
Impact
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.
An attacker can exploit this over the network, without logging in, without any action by a user. Specific conditions have to be met, which makes an attack harder. If it succeeds: high risk of data being read, low risk of data or systems being changed.
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Gradio | Gradio | from 6.27.0 before 6.32.0 |
| Gradio-app | Gradio | from 6.27.0 before 6.32.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/gradio-app/gradio/pull/14050
- https://github.com/gradio-app/gradio/commit/fda8037b83f316454e96201dfad96e50944f8547
- https://github.com/gradio-app/gradio/releases/tag/gradio%406.32.0
- https://github.com/gradio-app/gradio/blob/gradio%406.31.0/gradio/history.py#L521-L559
- https://www.vulncheck.com/advisories/gradio-6.27.0-before-6.32.0-authentication-bypass-via-forged-host-header
- https://github.com/advisories/GHSA-4cx6-qfwr-9vfq
- https://nvd.nist.gov/vuln/detail/CVE-2026-134825