AploSec / Disclosures / CVE-2026-134825

High 8.3ReportedFixed in 6.32.0CWE-290PyPI

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

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