Description
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.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:NWeakness enumeration
Affected software
Source: the vendor's advisory (CNA). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Gradio | Gradio | >= 6.27.0, < 6.32.0 |
References
- https://github.com/gradio-app/gradio/blob/gradio%406.31.0/gradio/history.py#L521-L559
- https://github.com/gradio-app/gradio/commit/fda8037b83f316454e96201dfad96e50944f8547
- https://github.com/gradio-app/gradio/pull/14050
- https://github.com/gradio-app/gradio/releases/tag/gradio%406.32.0
- https://www.vulncheck.com/advisories/gradio-6.27.0-before-6.32.0-authentication-bypass-via-forged-host-header
Timeline
- Published
- Nov 22, 2026
- Last modified
- Dec 4, 2026
- NVD status
- Awaiting Analysis