CVE & CISA-KEV Catalog

CVE-2024-1561

HIGHEPSS 95th pctl
7.5
CVSS v3
NVD

Description

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

Remediation Available
gradioNVD
Affected:>= 4.12.0, < 4.13.0Fixed in:4.13.0CVE-2024-1561derived from NVD

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

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityNone
AvailabilityNone

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Exploit Intelligence

9.24%probability of exploitation in 30 days
95thpercentile

High risk: more likely to be exploited than 95% of all known CVEs.

References

Exploit1
Release Notes1
Embed a live status badge for CVE-2024-1561
CVE-2024-1561 severity badge

Markdown

[![CVE-2024-1561](https://tridentstack.com/cve/badge/CVE-2024-1561.svg)](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.

Start free

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.