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

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

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.31%probability of exploitation in 30 days
95thpercentile

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

References

Exploit1
Release Notes1

Related Vulnerabilities

Other CWE-29 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2023-6909High7.590%-Fix
CVE-2023-1177Critical9.370%-Fix
CVE-2024-6396Critical9.853%--
CVE-2024-3848High7.543%-Fix
CVE-2024-2083Critical9.937%-Fix
CVE-2023-6021High7.537%--

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
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.

See how it worksStart freeThis CVE lookup is free and always will be.

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.