MediumVulnerability
CVE-2024-47166: Gradio one-level read path traversal in /custom_component endpoint
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2024-47166
- Published
- Record updated
- Affected
- gradio < 4.44.0
- Fixed in
- 4.44.0
- released September 10, 2024, 31 days before disclosure
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.4%
Summary
Gradio, an open-source Python package for quick prototyping, contains a one-level read path traversal in its `/custom_component` endpoint. An attacker who manipulates the file path in a request can read and leak source code from custom Gradio components hosted on publicly accessible servers, which may include proprietary or sensitive code.
Mitigation
Upgrade to `gradio>=4.44`. As a workaround, sanitize file paths and ensure components are not stored in publicly accessible directories.
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- gradioPyPILLM dependency since 2023-03-14 · 11 tracked dependents
Related items
- MediumCVE-2026-121936: easyVoice server-side request forgery through openaiBaseUrl in /api/v1/ttsSimilar attack · NVD/CVE Database
- MediumCVE-2026-118628: MLflow get-artifacts server-side request forgery information disclosureSimilar attack · NVD/CVE Database
- HighCVE-2026-118625: MLflow Tracking Server privilege escalation via get_endpointsSimilar attack · NVD/CVE Database
- InfoWhen trust becomes the payload: Inside the threats, etc quarterly reportSimilar attack · Elastic Security Labs
- MediumCritical Langflow flaws enable authentication bypass and RCESimilar attack · CSO Online