AploSec / Disclosures / CVE-2026-134825
Gradio 6.27.0 before 6.32.0 Authentication Bypass via Forged Host Header
CVE-2026-134825 · published 2026-11-22
In plain words: this type of bug lets someone get past the login or identity check (authentication bypass). A fixed release is listed.
Summary
CVE-2026-134825 affects gradio (PyPI) >= 6.27.0, < 6.32.0: Authentication Bypass via Forged Host Header (CWE-290). Fixed in 6.32.0. CVSS 4.0 base score 8.3 (High), assigned by VulnCheck. Published 2026-11-22 by VulnCheck. Credit: Zachariah Mithani (AploSec).
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.
Evidence
Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.
Remediation
Upgrade gradio to 6.32.0 or later. Releases in the affected range (>= 6.27.0, < 6.32.0) are vulnerable. See the linked advisory for details on affected release lines.
Timeline
- 2026-11-22 CVE published
References
- Releasehttps://github.com/gradio-app/gradio/releases/tag/gradio%406.32.0
- VulnCheck advisoryhttps://www.vulncheck.com/advisories/gradio-6.27.0-before-6.32.0-authentication-bypass-via-forged-host-header
- Fix pull requesthttps://github.com/gradio-app/gradio/pull/14050
- Fix commithttps://github.com/gradio-app/gradio/commit/fda8037b83f316454e96201dfad96e50944f8547
- Vulnerable codehttps://github.com/gradio-app/gradio/blob/gradio%406.31.0/gradio/history.py#L521-L559
- CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-134825
- NVD recordhttps://nvd.nist.gov/vuln/detail/CVE-2026-134825
- Severity
- High 8.3CVSS 4.0, scored by VulnCheck in the CVE record
- Package
- gradio
- Ecosystem
- PyPI
- Affected
- >= 6.27.0, < 6.32.0
- Fixed
- 6.32.0
- Weakness
- CWE-290
- CNA
- VulnCheck
- Credit
- Zachariah Mithani (AploSec)finder