CVE-2024-47167: Gradio server-side request forgery through the /queue/join endpoint
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2024-47167
- Published
- Record updated
- Affected
- gradio < 5.0.0
- Fixed in
- 5.0.0
- released October 9, 2024, 2 days before disclosure
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.5%
Summary
Gradio, an open-source Python package for rapid prototyping, contains a Server-Side Request Forgery flaw in the `/queue/join` endpoint. The `async_save_url_to_cache` function lets attackers make the server send HTTP requests to user-controlled URLs, reaching internal servers or services on a local network and possibly exfiltrating data. Fetched content is stored locally, which can also let attackers upload malicious files; deployments using components such as the Video component are affected.
Mitigation
Upgrade to `gradio>=5`. As a workaround, disable or heavily restrict URL-based inputs to trusted domains only, implement stricter URL validation such as allowlist-based validation, and ensure local or internal network addresses cannot be requested via the `/queue/join` endpoint.
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