patchminder
Weaponized · Nuclei CVE-2023-51449

Path traversalin gradio-app gradio.

Published 22 Dec 2023 · Updated 2 Aug 2024 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Weaponized: a Nuclei exploit is public.

Attack code is public
Severity
Medium 5.6
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1 · no login needed
Attack likelihood
High
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 28.3% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 4.11.0 or later
In plain words

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.

What to do now
  • Upgrade gradio to 4.11.0 or later.
  • Upgrade gradio (PyPI) to 4.11.0 or later.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
gradio
before 4.11.0
4.11.0
CVE record
gradio (PyPI)
before 4.11.0
4.11.0
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 19 Dec 2023
    CVE ID reserved by GitHub_M.
  2. 22 Dec 2023
    Published in the CVE List.
  3. 2 Aug 2024
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Weaponized (Nuclei). CISA assessment (SSVC): exploitation none.

Metasploit module
None known
Nuclei scan template
Available
Exploit-DB
None known
GitHub proof of concepts
None known

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other gradio vulnerabilities

Same weakness: Path traversal

All CWE-22 vulnerabilities

References
Cite this page

Patchminder. CVE-2023-51449: Path traversal in gradio-app gradio. https://patchminder.com/cve/cve-2023-51449/ (accessed 5 December 2026).