Vulnerabilities

Vulnerability · CVE-2024-1561

Gradio move_resource_to_block_cache() Method Vulnerability

Published Sep 18, 2024 · catalog updated Sep 18, 2024 · Gradio move_resource_to_block_cache() Method

Patch now

CVE-2024-1561 is in the CISA known-exploited catalog. Confirm Gradio move_resource_to_block_cache() Method against the vendor advisory and apply that fix. The CVSS score does not change the priority.

Gaps on this record

  • The stored product name is a package slug. The name on this page is taken from the title (Gradio move_resource_to_block_cache() Method).
  • No version range is stored. A customer cannot check an installed version against this record.
Severity
Unknown—
Known exploitation
CISA KEV and VulnCheck KEV
EPSS
9.31%
Remediation
Remediation guidance
Affected products
vendor gradio.app gradio

An issue was discovered in gradio-app/gradio, where the endpoint improperly allows the invocation of any method on a class with attacker-controlled arguments. Specifically, by exploiting the method of the 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 , thereby allowing remote attackers to read files on the host machine. Furthermore, gradio apps hosted on are also affected, potenti

Are you affected?

Enter the version you run. The result uses only the ranges stored on this record.

The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.

  • vendor gradio.app gradioversion unspecified

How to fix CVE-2024-1561

What to do

Three questions, each answered from this record only. Confirm the vendor advisory before you patch.

Should you patch?

CVE-2024-1561 is in the CISA known-exploited catalog. Confirm Gradio move_resource_to_block_cache() Method against the vendor advisory and apply that fix. The CVSS score does not change the priority.

Which versions are affected?

Affected version ranges are not on this record. Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.

What should an analyst verify?

No weakness class is stored. EPSS 9.31%. The CISA KEV listing is the exploitation evidence. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.

Code

The project this record applies to. Exploit listings stay in References.

No public source repository is identified for this product.

Timeline

Detection, updates, and resolution for this record.

  1. Sep 18, 2024 · VulnCheck KEV

    Detected

    An issue was discovered in gradio-app/gradio, where the endpoint improperly allows the invocation of any method on a class with attacker-controlled arguments. Specifically, by exploiting the method of the 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

  2. Sep 18, 2024 · CISA KEV

    Known exploited

    Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.

Sources

  • CVE.orgVulnerability recordCVE-2024-1561

    Official CVE identifier

    cve.org
  • FIRST EPSSExploitation probabilityCVE-2024-1561

    30-day exploitation probability 9.3%

    first.org
  • VulnCheck KEVConfirmed exploitationCVE-2024-1561

    An issue was discovered in gradio-app/gradio, where the endpoint improperly allows the invocation of any method on a class with attacker-controlled arguments. Specifically, by exploiting the method of the class, an attacker can copy any file on the filesystem to a temporary direc

    vulncheck.com

References

Freshness

Last verified in this catalog Oct 18, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.