Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach ssr_mode Gradio app remotely
-
DeliverySend forged Host: localhost header
-
ExploitPass loopback check via Node SSR proxy
-
ExecutionCall run-history endpoints with operator HF token
-
ImpactRead 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). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
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
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.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Gradio v4.36.1 was discovered to contain a code injection vulnerability via the component /gradio/component_meta.py. Rat
A local file include could be remotely triggered in Gradio due to a vulnerable user-supplied JSON value in an API reques
A command injection vulnerability exists in the gradio-app/gradio repository, specifically within the 'test-functional.y
A Server-Side Request Forgery (SSRF) vulnerability exists in the gradio-app/gradio version 4.21.0, specifically within t
A path traversal vulnerability exists in the Gradio Audio component of gradio-app/gradio, as of version git 98cbcae. Rat
A command injection vulnerability exists in the deploy+test-visual.yml workflow of the gradio-app/gradio repository, due
Command Injection in GitHub repository gradio-app/gradio prior to main. Rated high severity (CVSS 8.1), this vulnerabili
Gradio is an open source framework for building interactive machine learning models and demos. Rated high severity (CVSS
A Regular Expression Denial of Service (ReDoS) vulnerability exists in the gradio-app/gradio repository, affecting the g
A Denial of Service (DoS) vulnerability was discovered in the file upload feature of gradio-app/gradio version 0.39.1. R
A vulnerability in the file upload process of gradio-app/gradio version @gradio/video@0.10.2 allows for a Denial of Serv
A vulnerability in the dataframe component of gradio-app/gradio (version git 98cbcae) allows for a zip bomb attack. Rate
EUVD-2026-132838
GHSA-4cx6-qfwr-9vfq
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB