Skip to main content

Gradio EUVDEUVD-2026-132838

| CVE-2026-134825 HIGH
Authentication Bypass by Spoofing (CWE-290)
2026-11-22 VulnCheck GHSA-4cx6-qfwr-9vfq
8.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach ssr_mode Gradio app remotely
  2. Delivery
    Send forged Host: localhost header
  3. Exploit
    Pass loopback check via Node SSR proxy
  4. Execution
    Call run-history endpoints with operator HF token
  5. Impact
    Read records/assets and write buckets under operator account

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Anti-spoofing controls
MITRE ATT&CK

1 technique across 1 tactic: Defense Evasion

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the target Gradio deployment to run with ssr_mode enabled, so that requests are proxied through the local Node SSR server and a forged 'Host: localhost' header passes the loopback check in gradio/history.py; the operator must also have a Hugging Face token saved locally, which the attacker then rides to reach run-history endpoints. Limiting factors: the attack does not work without the SSR proxy path (a non-default requirement captured by AC:H and AT:P), it is constrained to versions 6.27.0 through 6.31.x, and impact is scoped to the operator's own HF run-history buckets (read, and write) rather than arbitrary code execution. No user interaction or authentication is required (PR:N/UI:N).

Impact

This is a credible, prioritize-this-week issue rather than a paper-high CVE, but its real-world reach is gated by configuration. The CVSS 4.0 vector (AV:N/AC:H/AT:P/PR:N/UI:N) confirms a network-reachable, unauthenticated flaw (PR:N) whose exploitation is non-trivial: AC:H and AT:P reflect the stated preconditions - ssr_mode must be enabled so requests are proxied through the local Node SSR server, which is what lets a forged 'Host: localhost' header pass the loopback check. Impact is skewed toward confidentiality (VC:H: list buckets, read run-history records and assets) with limited integrity (VI:L: write buckets) and no availability impact, all acting under the operator's Hugging Face account via their locally saved token. There is no CISA KEV listing and no EPSS score supplied, so there is no signal of active or widespread exploitation; the only exploitation driver is the vuln.today 'this_week' decision label plus VulnCheck attribution. No public exploit code is provided in the references (only patch commits, the release, the vulnerable source lines, and the VulnCheck advisory). Net: a real authentication-bypass with account-scoped data exposure that warrants prompt patching on ssr_mode deployments, but attack complexity and the non-default SSR proxy dependency make broad, automated exploitation less likely than the 8.3 score alone suggests.

Exploit ScenarioDerived

A remote, unauthenticated attacker targets a Gradio app (6.27.0-6.31.x) running with ssr_mode enabled and sends requests carrying a forged 'Host: localhost' header. Because those requests are proxied through the local Node SSR server, they satisfy the loopback check in gradio/history.py and are treated as local, letting the attacker invoke run-history endpoints using the operator's locally saved Hugging Face token to list buckets, read records and assets, and write buckets under the operator's account. No confirmed public exploit code is referenced, and the attack depends on the SSR proxy path (reflected as AC:H/AT:P).

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.7% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 22, 2026

Gradio 6.27.0 through 6.31.x deployments running with ssr_mode enabled let remote unauthenticated attackers consume the operator's locally saved Hugging Face token by sending a forged 'Host: localhost' header that satisfies the loopback check in gradio/history.py. Because SSR-proxied requests appear to originate from the local Node server, attackers can reach run-history endpoints to enumerate buckets, read records and assets, and write buckets under the operator's own account. Impact is scoped to the operator's HF run-history data rather than code execution, no public exploit is identified at time of analysis, and the vendor shipped fixes in 6.32.0 (PR #14050).

RemediationAI

Vendor-released patch: upgrade to Gradio 6.32.0 (release notes at https://github.com/gradio-app/gradio/releases/tag/gradio%406.32.0), which contains the fix merged via PR https://github.com/gradio-app/gradio/pull/14050 (commit fda8037b83f316454e96201dfad96e50944f8547). The fix removes reliance on the spoofable loopback check: run-history connections must present the visitor's own Hugging Face token, which the server keeps in an HttpOnly cookie for that browser, so the operator's stored token is no longer borrowed by proxied requests; a new run-history disconnect endpoint is a JSON POST that the server can refuse for other sites, and bucket tokens are write-verified. The changeset is published as a minor release across gradio and its JS packages, so pin both the Python package and the matching @gradio/client and @gradio/core JS versions to 6.32.0 or later to avoid a client/server mismatch. If upgrading immediately is not possible, disable ssr_mode so browser traffic is no longer proxied through the local Node SSR server and the forged Host header cannot satisfy the loopback check; the trade-off is loss of server-side rendering for the app. Removing the operator's saved Hugging Face token from the host also eliminates the credential an attacker could ride, at the cost of disabling run-history bucket features that depend on it.

Affected VersionsENISA

gradio 6.27.0 <6.32.0

Affected Packages

euvd gradio fix: 6.32.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Gradio's run-history feature (gradio/history.py) binds history buckets to a Hugging Face account using a token the operator has stored locally on the host. To keep that privileged token server-side, the history endpoints gate the stored-token path behind a loopback check that originally relied on IP address inspection (the fix removes the ipaddress import), so a request arriving with 'Host: localhost' is treated as a trusted local caller. The root cause is CWE-290, Authentication Bypass by Spoofing: the trust decision is based on attacker-controllable request metadata rather than a cryptographic credential. With ssr_mode enabled, all browser traffic is proxied through Gradio's local Node SSR server, so the loopback check is satisfied for any remote request passing through that proxy, and the attacker inherits the operator's HF token for the run-history API. The upstream fix changes the trust model instead of the check: the client now passes the visitor's own HF token to connect_bucket so the server stores it in an HttpOnly cookie for that browser, adds a disconnect_bucket JSON POST endpoint that the server can refuse for cross-site callers, adds an oauth_available config flag to distinguish real Space sign-in from mocked off-Space login routes, and adds verify_writable, which writes and deletes a probe file to confirm the presented token actually has write access (create_bucket with exist_ok succeeds even for read-only tokens). Note the submitted CVSS:4.0 vector differs from the assessed CVSS:3.1 vector; the assessed view treats the SSR proxy requirement and locally saved token as AC:H/AT:P prerequisites and rates integrity impact as Low while confidentiality impact is High.

Know when Gradio gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 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
vuln.today AI 6.5 MEDIUM

Network-reachable and unauthenticated (AV:N/PR:N), but AC:H because exploitation depends on the non-default ssr_mode SSR proxy path; high confidentiality from reading history, low integrity from writing buckets, no availability impact.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

CVE-2026-134825 is a high-severity vulnerability in Gradio 6.27.0 through 6.31.x that, when SSR mode is enabled, allows remote unauthenticated attackers to access and manipulate the operator's Hugging Face run-history data by spoofing a Host header. This impacts the confidentiality and integrity of operational telemetry, potentially exposing sensitive experiment records and assets, and undermining trust in the platform's security. Leadership should prioritize remediation to prevent unauthorized access to proprietary data and maintain compliance.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.7%
Top 48% exploitable
Prevalence
Medium
widely used ML demo framework, but exposure limited to ssr_mode deployments
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.7%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

43
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

More in Gradio

View all
CVE-2024-39236 CRITICAL POC
9.8 Jul 01

Gradio v4.36.1 was discovered to contain a code injection vulnerability via the component /gradio/component_meta.py. Rat

CVE-2024-0964 CRITICAL POC
9.4 Feb 05

A local file include could be remotely triggered in Gradio due to a vulnerable user-supplied JSON value in an API reques

CVE-2024-4253 CRITICAL POC
9.1 Jun 04

A command injection vulnerability exists in the gradio-app/gradio repository, specifically within the 'test-functional.y

CVE-2024-4325 HIGH POC
8.6 Jun 06

A Server-Side Request Forgery (SSRF) vulnerability exists in the gradio-app/gradio version 4.21.0, specifically within t

CVE-2024-10648 HIGH POC
8.2 Mar 20

A path traversal vulnerability exists in the Gradio Audio component of gradio-app/gradio, as of version git 98cbcae. Rat

CVE-2024-1540 HIGH POC
8.2 Mar 27

A command injection vulnerability exists in the deploy+test-visual.yml workflow of the gradio-app/gradio repository, due

CVE-2023-6572 HIGH POC
8.1 Dec 14

Command Injection in GitHub repository gradio-app/gradio prior to main. Rated high severity (CVSS 8.1), this vulnerabili

CVE-2021-43831 HIGH POC
7.7 Dec 15

Gradio is an open source framework for building interactive machine learning models and demos. Rated high severity (CVSS

CVE-2024-10624 HIGH POC
7.5 Mar 20

A Regular Expression Denial of Service (ReDoS) vulnerability exists in the gradio-app/gradio repository, affecting the g

CVE-2025-0187 HIGH POC
7.5 Mar 20

A Denial of Service (DoS) vulnerability was discovered in the file upload feature of gradio-app/gradio version 0.39.1. R

CVE-2024-8966 HIGH POC
7.5 Mar 20

A vulnerability in the file upload process of gradio-app/gradio version @gradio/video@0.10.2 allows for a Denial of Serv

CVE-2024-10569 HIGH POC
7.5 Mar 20

A vulnerability in the dataframe component of gradio-app/gradio (version git 98cbcae) allows for a zip bomb attack. Rate

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy