GHSA-g9cj-cfpp-4g2x · Severity: high · Ecosystem: pip — gradio vulnerable to Path Traversal
An issue was discovered in gradio-app/gradio, where the `/component_server` endpoint improperly allows the invocation of any method on a `Component` class with attacker-controlled arguments. Specifically, by exploiting the `move_resource_to_block_cache()` method of the `Block` class, an attacker can copy any file on the filesystem to a temporary directory and subsequently retrieve it. This vulnerability enables unauthorized local file read access, posing a significant risk especially when the application is exposed to the internet via `launch(share=True)`, thereby allowing remote attackers to read files on the host machine. Furthermore, gradio apps hosted on `huggingface.co` are also affected, potentially leading to the exposure of sensitive information such as API keys and credentials stored in environment variables.
Conclusion & alert: CVE-2024-1561 is rated High Exploit Risk (73.1/100): CVSS High severity, with high exploitation likelihood (EPSS 8.85%, 95th percentile). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 93.43% | 8.85% | -84.57% |
| 2 | 2026-04-20 | 93.50% | 93.43% | -0.07% |
| 3 | 2026-03-24 | — | 93.50% | — |
Full EPSS history (23 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 7.5 | 3.0 | HIGH |
|
3.9 | 3.6 | [email protected] |
GHSA-g9cj-cfpp-4g2x · Severity: high · Ecosystem: pip — gradio vulnerable to Path Traversal
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| gradio_project | gradio | >= 4.12.0, < 4.13.0 | cpe:2.3:a:gradio_project:gradio:*:*:*:*:*:python:*:* |
| URL | Tags |
|---|---|
| https://github.com/gradio-app/gradio/commit/24a583688046867ca8b8b02959c441818bdb34a2 | Patch |
| https://huntr.com/bounties/4acf584e-2fe8-490e-878d-2d9bf2698338 | Exploit Third Party Advisory |
| https://www.gradio.app/changelog#4-13-0 | Release Notes |