CVE-2023-51449: Gradio - File Inclusion
- Cve: CVE-2023-51449
- Name: Gradio - File Inclusion
- Description: Gradio is an open-source Python package that allows you to quickly build a demo or web application for your machine learning model, API, or any arbitary Python function. Versions of `gradio` prior to 4.11.0 contained a vulnerability in the `/file` route which made them susceptible to file traversal attacks in which an attacker could access arbitrary files on a machine running a Gradio app with a public URL (e.g. if the demo was created with `share=True`, or on Hugging Face Spaces) if they knew the path of files to look for. This issue has been patched in version 4.11.0.
- Impact: Unauthenticated attackers can access arbitrary files on the server, potentially leading to information disclosure or further exploitation.
- Remediation: Update to the latest version of Gradio where the vulnerability is fixed.
- Vulnerability type: file_inclusion
- Vulnerability impact: file_system_read, information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Epss score: 0.28336
- Epss percentile: 0.98167
- Assignee: [email protected]
- Published at: 2023-12-22T21:15:09Z
- Age in days: 1068
- Modified at: 2026-06-17T06:40:58Z
- Patch available: yes
- References total: 4
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-51449
- Nvd status: modified
- Checked, none or zero: known exploited entries, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory |
Nuclei templates
| Id | Url |
|---|---|
| CVE-2023-51449 | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2023/CVE-2023-51449.yaml |
References
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| gradio_project:gradio | < 4.11.0 | no | nvd | /v1/products/gradio_project/gradio |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| gradio-app/gradio | commit, fix, package, security_advisory | yes | /v1/repositories/gradio-app/gradio |
Index
- Repositories: 421
- Repositories high signal: 258
- Packages: 1
Exploitation
- Remote: yes
- Exposed hosts: 2932
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, initial access since, hackerone reports