MediumVulnerability
CVE-2024-51751: Gradio file preview components allow reading arbitrary files on the server
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2024-51751
- Published
- Record updated
- Affected
- gradio >= 5.0.0, < 5.5.0
- Fixed in
- 5.5.0
- released November 4, 2024, 3 days before disclosure
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.7%
Summary
CVE-2024-51751 affects Gradio, an open-source Python package for building demo and web applications. When the File or UploadButton components are used to preview file content, an attacker with access to the application can abuse them to read arbitrary files from the application server, which is a path traversal flaw (CWE-22).
Mitigation
This issue has been addressed in release version 5.5.0, and users are advised to upgrade. There are no known workarounds for this vulnerability.
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