CVE-2026-28416
HIGH 8.6CVSS 3.1Gradio has SSRF via Malicious `proxy_url` Injection in `gr.load()` Config Processing
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.
- Published
- 27 Feb 2026
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-918
- Also known as
- GHSA-jmh7-g254-2cq9PYSEC-2026-66
- Sources
- NVDJSONOSV GHSA-jmh7-g254-2cq9JSONOSV PYSEC-2026-66JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N |
| OSV | PyPA | CVSS 3.1 | HIGH 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | gradio_project | gradiocpe:2.3:a:gradio_project:gradio:*:*:*:*:*:python:*:* |
< 6.6.0 | 6.6.0 |
| OSV | PyPI | gradio | < 6.6.0 | 6.6.0 |
References
- https://github.com/gradio-app/gradio/security/advisories/GHSA-jmh7-g254-2cq9 · Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-28416 · ADVISORY
- https://github.com/gradio-app/gradio/commit/fc7c01ea1e581ef70be98fddf003b0c91315c7cc · WEB
- https://github.com/gradio-app/gradio · PACKAGE
- https://github.com/gradio-app/gradio/releases/tag/gradio%406.6.0 · WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/gradio/PYSEC-2026-66.yaml · WEB
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 27 Feb 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 27 Feb 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 1 Mar 2026)