# CVE-2026-134825: Gradio 6.27.0 before 6.32.0 Authentication Bypass via Forged Host Header

Status: published. Published: 2026-11-22. Updated: 2026-11-22.

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.

## Remediation

- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: CNA: VulnCheck) — https://github.com/gradio-app/gradio/pull/14050
- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: CNA: VulnCheck) — https://github.com/gradio-app/gradio/commit/fda8037b83f316454e96201dfad96e50944f8547

## Affected products and versions

- Gradio / Gradio (gradio): ≥ 6.27.0; < 6.32.0 (affected, semver). Source: CNA: VulnCheck

## Severity and prioritization

- CVSS 4.0: 8.3 (high); CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N; source: CNA: VulnCheck

- CVSS 3.1: 6.5 (medium); CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N; source: CNA: VulnCheck

- CISA KEV: No listing in collected sources

- EPSS: Not available

- SSVC: Not available

- Weaknesses: CWE-290

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://github.com/gradio-app/gradio/pull/14050 (CNA: VulnCheck; issue-tracking, patch)

- https://github.com/gradio-app/gradio/commit/fda8037b83f316454e96201dfad96e50944f8547 (CNA: VulnCheck; patch)

- https://github.com/gradio-app/gradio/releases/tag/gradio%406.32.0 (CNA: VulnCheck; release-notes)

- https://github.com/gradio-app/gradio/blob/gradio%406.31.0/gradio/history.py#L521-L559 (CNA: VulnCheck; technical-description)

- https://www.vulncheck.com/advisories/gradio-6.27.0-before-6.32.0-authentication-bypass-via-forged-host-header (CNA: VulnCheck; third-party-advisory)

## Provenance

- CNA: VulnCheck: https://www.cve.org/CVERecord?id=CVE-2026-134825; retrieved 2026-11-22; source updated 2026-11-22

Revision: 10d795b79e37c47551041d271f73da623bef16cdb192da47761a3da351520557

Canonical: https://y2.dev/cve/CVE-2026-134825

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.