CVE-2024-51751: Gradio - Path Traversal
- Cve: CVE-2024-51751
- Name: Gradio - Path Traversal
- Description: Gradio is an open-source Python package designed to enable quick builds of a demo or web application. If File or UploadButton components are used as a part of Gradio application to preview file content, an attacker with access to the application might abuse these components to read arbitrary files from the application server. This issue has been addressed in release version 5.5.0 and all users are advised to upgrade. There are no known workarounds for this vulnerability.
- Impact: Attackers can read arbitrary files from the server, potentially leading to information disclosure.
- Remediation: Upgrade to version 5.5.0 or later.
- Vulnerability type: path_traversal
- Vulnerability impact: file_system_read, information_disclosure
- Requirement type: logged_in
- Requirements: Attacker needs access to the application
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- Epss score: 0.00681
- Epss percentile: 0.53188
- Assignee: [email protected]
- Published at: 2024-11-06T20:15:05Z
- Age in days: 748
- Modified at: 2026-06-17T08:06:15Z
- Patch available: yes
- Public exploits total: 1
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-51751
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/gradio-app/gradio/security/advisories/GHSA-rhm9-gp5p-5248 | nvd | 2024-11-06 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/gradio-app/gradio/security/advisories/GHSA-rhm9-gp5p-5248 | nvd | Exploit, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| gradio_project:gradio | >= 5.0.0, < 5.5.0 | no | nvd | /v1/products/gradio_project/gradio |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| gradio-app/gradio | package, security_advisory | yes | /v1/repositories/gradio-app/gradio |
Index
- Repositories: 181
- Repositories high signal: 102
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2024-11-06
- Remote: yes
- Authentication required: yes
- Exposed hosts: 2932
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports