patchminder
No public exploit found CVE-2024-47166

Path traversalin gradio-app gradio.

Published 10 Oct 2024 · Updated 11 Oct 2024 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

No public exploit found; not on exploited lists.

Severity
Low 2.3
CVSSA severity score from 0 to 10. 9 and higher is critical. 4.0
Attack likelihood
Low
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 0.4% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed in 4.44, 4.44.0
In plain words

Gradio is an open-source Python package designed for quick prototyping. This vulnerability involves a **one-level read path traversal** in the `/custom_component` endpoint. Attackers can exploit this flaw to access and leak source code from custom Gradio components by manipulating the file path in the request. Although the traversal is limited to a single directory level, it could expose proprietary or sensitive code that developers intended to keep private. This impacts users who have developed custom Gradio components and are hosting them on publicly accessible servers. Users are advised to upgrade to `gradio>=4.44` to address this issue. As a workaround, developers can sanitize the file paths and ensure that components are not stored in publicly accessible directories.

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

Affected and fixed versions

Product or package
Affected
Fixed in
Source
gradio
before 4.44
4.44
CVE record
gradio (PyPI)
before 4.44.0
4.44.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 Sep 2024
    CVE ID reserved by GitHub_M.
  2. 10 Oct 2024
    Published in the CVE List.
  3. 11 Oct 2024
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: No public exploit found. CISA assessment (SSVC): exploitation none.

Metasploit module
None known
Nuclei scan template
None known
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-2024-47166: Path traversal in gradio-app gradio. https://patchminder.com/cve/cve-2024-47166/ (accessed 5 December 2026).