Path traversalin gradio-app gradio.
Weaponized: a Nuclei exploit is public.
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.
- Upgrade gradio to 4.11.0 or later.
- Upgrade gradio (PyPI) to 4.11.0 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 19 Dec 2023CVE ID reserved by GitHub_M.
- 22 Dec 2023Published in the CVE List.
- 2 Aug 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: Weaponized (Nuclei). CISA assessment (SSVC): exploitation none.
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.
Report a link
Other gradio vulnerabilities
Same weakness: Path traversal
- github.com x_refsource_CONFIRM
- github.com x_refsource_MISC
- github.com x_refsource_MISC
Patchminder. CVE-2023-51449: Path traversal in gradio-app gradio. https://patchminder.com/cve/cve-2023-51449/ (accessed 5 December 2026).