CVE-2024-1561
highPriorität · verfolgen · 13EPSS 0.093 · 95. PerzentilExploit · PoCEUUSEPSS · bewertet 2026-10-27
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.
cvss
Technischer Schweregrad, 0–10. Eine Zeile je Quelle.
Basiswert 0–10 · höher = schwerwiegender · Vektor überfahren zum Auflösen
SSVC
Eine Handlungsentscheidung — aus Ausnutzung und Auswirkung.
schwächen
Die CWE-Schwächeklassen, zu denen dies gehört.
Exploits (4)
Öffentlicher Proof-of-Concept- und Exploit-Code.
- DiabloHTB/CVE-2024-1561Poc for CVE-2024-1561 affecting Gradio 4.12.0PoC · poc_in_github
- DiabloHTB/Nuclei-Template-CVE-2024-1561Nuclei Templates PoC · poc_in_github
betroffene Produkte (4)
Betroffene Produkte und Versionsbereiche.
Advisories (2)
Hersteller- und Ökosystem-Meldungen dazu.
- GHSA-g9cj-cfpp-4g2xgradio vulnerable to Path Traversal2024-04-16ghsa · osvUS
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.
- PYSEC-2026-1415gradio vulnerable to Path Traversal2026-07-07vendor · osvUS
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.
auch bekannt als (6)
Weitere Namen und Kennungen dieser Entität.
quellen
Welche Quellen diesen Datensatz belegen und wann.
Referenzen (9)
Externe Belege — Patches, Meldungen, Analysen.
- https://cxsecurity.com/cveshow/CVE-2024-1561/cnnvd
- https://github.com/gradio-app/gradio/commit/24a583688046867ca8b8b02959c441818bdb34a2Patchcnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2024-1561cnnvd
- https://github.com/gradio-app/gradio/commit/24a583688046867ca8b8b02959c441818bdb34a2enisa_euvd
- https://huntr.com/bounties/4acf584e-2fe8-490e-878d-2d9bf2698338enisa_euvd
- https://www.gradio.app/changelog#4-13-0enisa_euvd
- https://github.com/gradio-app/gradio/commit/24a583688046867ca8b8b02959c441818bdb34a2Patchnvd
- https://huntr.com/bounties/4acf584e-2fe8-490e-878d-2d9bf2698338ExploitThird Party Advisorynvd
Angreifer nutzen Schwachstellen wie diese gegen im Internet exponierte Dienste aus. Sehen Sie mit einem kostenlosen Passiv-Scan, was exponiert ist.
Kostenloser Scan