CVE-2024-1728
CriticalPublic exploitDuplicate Advisory: Gradio Local File Inclusion vulnerability
Published Apr 10, 2024 · Updated Aug 12, 2026 · Also known as GHSA-3f95-mxq2-2f63, GHSA-m842-4qm8-7gpq, PYSEC-2026-345
Key Facts
Patch immediately- CVE-2024-1728 is a critical-severity vulnerability (CVSS 9.2 v4) affecting Gradio (Gradio Project), gradio-app/gradio.
- It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
- EPSS estimates a 85% probability of exploitation in the next 30 days.
- Fixed versions are available, including Gradio 4.19.2, gradio-app/gradio 4.19.2.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
CVSS v4
9.2
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS (30-day exploit likelihood)
85%
Higher than 99.7% of all scored CVEs
Exploited in the wild
No known
Not in a known-exploited catalog
Public exploit code
Available
Proof-of-concept or weaponized module
Get the full CVE-2024-1728 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
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
3 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| GradioGradio Project | See advisory | 4.19.2 |
| gradio-app/gradio | >= unspecified | 4.19.2 |
Patched Releases
Gradio
4.19.2
gradio-app/gradio
4.19.2
Timeline
Publicly disclosed
Apr 10, 2024
Last updated
Aug 12, 2026
Weakness Type
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
- advisoryGHSA advisory
- advisoryhttps://github.com/CVEProject/cvelistV5/tree/main/cves/2024/1xxx/CVE-2024-1728.json
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2024-1728
- articlehttps://github.com/gradio-app/gradio/commit/16fbe9cd0cffa9f2a824a0165beb43446114eec7
- articlehttps://github.com/gradio-app/gradio/security/advisories/GHSA-m842-4qm8-7gpq
FAQ
Common Questions.
gradio-app/gradio is vulnerable to a local file inclusion vulnerability due to improper validation of user-supplied input in the UploadButton component.
Affected: Gradio (Gradio Project); gradio-app/gradio versions >= unspecified. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
Fixed versions are available, including Gradio 4.19.2, gradio-app/gradio 4.19.2.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2024-1728 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo