HighVulnerability
CVE-2021-43831: Gradio arbitrary file read through publicly shared interface links
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2021-43831
- Published
- Record updated
- Affected
- gradio < 2.5.0
- Fixed in
- 2.5.0
- released December 14, 2021, 2 days before disclosure
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 3.9%
Summary
Gradio versions prior to 2.5.0 do not restrict file paths, so anyone who receives a publicly shared Gradio link can read any file on the host if they know its name or path. Access is limited only by the host operating system, and paths are opened in read-only mode.
Mitigation
Fixed in gradio 2.5.0.
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