CVE-2024-1728

published 10 Apr 2024 · updated 1 Aug 2024

Local File Inclusion in gradio-app/gradio

9.5CriticalCVSS 7.5EPSS 85%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 85%. Fixed in 4.19.2.

gradio-app/gradio is vulnerable to a local file inclusion vulnerability due to improper validation of user-supplied input in the UploadButton component. Attackers can exploit this vulnerability to read arbitrary files on the filesystem, such as private SSH keys, by manipulating the file path in the request to the `/queue/join` endpoint. This issue could potentially lead to remote code execution. The vulnerability is present in the handling of file upload paths, allowing attackers to redirect file uploads to unintended locations on the server.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
gradio-app<4.19.24.19.2

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-1728 severity on Zeptric[![CVE-2024-1728](https://zeptric.io/badge/cve/CVE-2024-1728.svg)](https://zeptric.io/cve/CVE-2024-1728)