Gradio has SSRF via Malicious `proxy_url` Injection in `gr.load()` Config Processing
Description
Gradio is an open-source Python package designed for quick prototyping. Prior to version 6.6.0, a Server-Side Request Forgery (SSRF) vulnerability in Gradio allows an attacker to make arbitrary HTTP requests from a victim's server by hosting a malicious Gradio Space. When a victim application uses gr.load() to load an attacker-controlled Space, the malicious proxy_url from the config is trusted and added to the allowlist, enabling the attacker to access internal services, cloud metadata endpoints, and private networks through the victim's infrastructure. Version 6.6.0 fixes the issue.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
gradioPyPI | < 6.6.0 | 6.6.0 |
Affected products
2- Range: < 6.6.0
Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-jmh7-g254-2cq9ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-28416ghsaADVISORY
- github.com/gradio-app/gradio/commit/fc7c01ea1e581ef70be98fddf003b0c91315c7ccghsaWEB
- github.com/gradio-app/gradio/releases/tag/gradio%406.6.0ghsaWEB
- github.com/gradio-app/gradio/security/advisories/GHSA-jmh7-g254-2cq9ghsax_refsource_CONFIRMWEB
- github.com/pypa/advisory-database/tree/main/vulns/gradio/PYSEC-2026-66.yamlghsaWEB
News mentions
0No linked articles in our index yet.