CVE-2024-1561
HIGHEPSS 95th pctlDescription
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.
How to fix
TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Exploit Intelligence
High risk: more likely to be exploited than 95% of all known CVEs.
References
Related Vulnerabilities
Other CWE-29 vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2023-6909 | High | 7.5 | 90% | - | Fix |
| CVE-2023-1177 | Critical | 9.3 | 70% | - | Fix |
| CVE-2024-6396 | Critical | 9.8 | 53% | - | - |
| CVE-2024-3848 | High | 7.5 | 43% | - | Fix |
| CVE-2024-2083 | Critical | 9.9 | 37% | - | Fix |
| CVE-2023-6021 | High | 7.5 | 37% | - | - |
Common questions
How do I fix CVE-2024-1561?
Upgrade gradio to 4.13.0 or later.
Is CVE-2024-1561 being actively exploited?
Not that we know of. CVE-2024-1561 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 9.3% is the estimated probability that it will be exploited in the next 30 days. That is higher than 95% of all scored CVEs.
How severe is CVE-2024-1561?
CVE-2024-1561 has a CVSS v3 base score of 7.5, rated high. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.
What does CVE-2024-1561 affect?
Published advisories record a fix for gradio (NVD). Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.
Embed a live status badge for CVE-2024-1561
Markdown
[](https://tridentstack.com/cve/CVE-2024-1561)HTML
<a href="https://tridentstack.com/cve/CVE-2024-1561"><img src="https://tridentstack.com/cve/badge/CVE-2024-1561.svg" alt="CVE-2024-1561"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-07-30.