Skip to content
Sign in
CVE-2024-15617.5HighCWE-29

CVE-2024-1561: Arbitrary Local File Read via Component Method Invocation in gradio-app/gradio

gradio-app · gradio-app/gradio

Vendor fix available · Affected: gradio-app/gradio · Exploitation: check available, not yet exploited

Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.

9.3%probability of exploitation in the next 30 days
95th percentile
050100

Higher than 95% of scored CVEs

7.5HighCVSS 3.0
LowHigh

DescriptionCVE.org

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.

Affected products1

From the CVE record. A product or version that is not listed is unknown, not unaffected.

  • gradio-app · gradio-app/gradiobefore 4.13.0

On the Atlas

Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.

Open the Atlas
Exploitation
Check available, not yet exploited. A public nuclei template can confirm it on a system you are authorised to test.
CISA KEV
Not listed
Public check
Gradio 4.3-4.12 - Local File Read · nuclei template in projectdiscovery/nuclei-templates
Published
April 2024

CoverageNo articles yet

No CyberSIXT article names CVE-2024-1561 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.

References

Updated AboutDevelopersSign in