Technical impact
Gradio, an open‑source Python framework for building user interfaces, contains an SSRF flaw in its configuration parsing. When `gr.load()` is called with a malicious Gradio Space, the Space's `proxy_url` is accepted unvalidated and appended to an allowlist. This lets an attacker make arbitrary HTTP requests from the victim’s machine, exposing internal networks, cloud metadata endpoints, and sensitive data. The vulnerability is identified as CWE‑918.
Affected Systems
The flaw exists in the Gradio package for all releases older than version 6.6.0 from the Gradio‑App project. Any deployment that imports gradio and uses `gr.load()` to ingest external Spaces runs the risk, regardless of programming language used to host the application. Versions earlier than 6.6.0 are affected; no fixed releases below that threshold are currently available.
Risk and Exploitability
With a CVSS score of 8.2 the flaw is high severity. The EPSS indicates a probability of exploitation of less than 1 %, and the vulnerability is not listed in CISA’s KEV catalogue. The likely attack vector is straightforward: an adversary hosts a malicious Gradio Space containing a harmful `proxy_url`; any victim application that loads this Space without additional validation will trigger the SSRF. Therefore, if the application automatically loads untrusted Spaces, it is prone to exploitation; alternatively, restrict the load to trusted sources to mitigate risk.
Github GHSA