CVE-2026-134825
MEDIUM
NVD
CVSS Score
6.5
Severity
MEDIUM
Published
Nov 22, 2026
Vendor
unknown
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.
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