Path Traversal in Gradio-App Gradio-App/gradio

CVE-2024-1728

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.

Vulnerability class: Path Traversal (Directory Traversal)

EPSS: 0.854 (99.7th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2024-1728?
CVE-2024-1728 is a high-severity vulnerability in Gradio-App Gradio-App/gradio, classified under Path Traversal. CVSS score: 7.5/10. Published 2024-04-10.
How severe is CVE-2024-1728?
High severity. CVSS v3 base score is 7.5 out of 10.
Is CVE-2024-1728 known to be exploited?
4 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.