Skip to content
OpenAdvisories
High · 7.5 Scanner template CVE-2024-1728 EUVD-2024-1079GHSA-3f95-mxq2-2f63GHSA-m842-4qm8-7gpqPYSEC-2026-345

Local File Inclusion in gradio-app/gradio

Published Apr 10, 2024 · Updated Aug 1, 2024 · Assigned by @huntr_ai

Description

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 products

VendorProductAffectedFixed
gradio-app gradio-app/gradio unspecified – < 4.19.2 4.19.2

Automated scanner template

A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI gradio < 4.19.2 4.19.2 GHSA-m842-4qm8-7gpq

References