Information disclosurein gradio-app gradio.
Weaponized: a Nuclei exploit is public.
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.
- Upgrade gradio-app/gradio to 4.13.0 or later.
- Upgrade gradio (PyPI) to 4.13.0 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 15 Feb 2024CVE ID reserved by @huntr_ai.
- 16 Apr 2024Published in the CVE List.
- 11 May 2024First public proof of concept on GitHub.
- 13 Feb 2025CVE record last updated.
Attack code anyone can find
Exploit maturity: Weaponized (Nuclei). CISA assessment (SSVC): exploitation poc.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other gradio vulnerabilities
Same weakness:
Patchminder. CVE-2024-1561: Information disclosure in gradio-app gradio. https://patchminder.com/cve/cve-2024-1561/ (accessed 5 December 2026).