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

Published Updated

Unauthenticated attackers can use an operator's Hugging Face token via a forged Host header to read and write Gradio history buckets when SSR is enabled.

CVSS score

High

8.3/10

CVSS 4.0 · Scored by VulnCheck Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
Proof of concept
1 on GitHub, unverified
Fix
Available
6.32.0
Attack path
Over the internet
No login, no user action

What is CVE-2026-134825?

CVE-2026-134825 is a high-severity authentication bypass vulnerability in Gradio, published on 22 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-290

How severe is CVE-2026-134825?

CVE-2026-134825 scores 8.3 out of 10 under CVSS 4.0, which is high severity. It was scored by VulnCheck.

Attack vector
Network
Attack complexity
High
Attack requirements
Present
Privileges required
None
User interaction
None
Confidentiality
High
Integrity
Low
Availability
None

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

Which versions are affected by CVE-2026-134825?

1 open source package ship an affected version, including gradio.

An affected version is only exploitable if your software uses the vulnerable function or option. Many projects that include it are not exposed.

PackageAffectedFixed in
gradio PyPI
pkg:pypi/gradio
From 6.27.06.32.0

How do I fix CVE-2026-134825?

Upgrade gradio to 6.32.0 or later.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2026-134825 being exploited?

There is no known exploitation of CVE-2026-134825 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-4cx6-qfwr-9vfq.

Is CVE-2026-134825 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free