gradio-app gradio CORS is_valid_origin privilege escalation
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Attack requirements
- None
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- None · Low · None
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-345.
Summary
A vulnerability classified as problematic has been found in gradio-app gradio up to 5.29.1. This affects the function is_valid_origin of the component CORS Handler. The manipulation of the argument localhost_aliases leads to erweiterte Rechte. It is possible to initiate the attack remotely. The complexity of an attack is rather high. The exploitability is told to be difficult. The exploit has been disclosed to the public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| gradio-app | gradio | 5.29.0; 5.29.1 | — | No fix listed | CNA |
| — | gradio (PyPI) | 5.0.0 – 5.29.1 | — | No fix listed | GHSA-wmjh-cpqj-4v6x |
- gradio Vendorgradio-app Affected 5.29.0; 5.29.1 Fixed in — No fix listed CNA
- gradio (PyPI) Vendor— Affected 5.0.0 – 5.29.1 Fixed in — No fix listed GHSA-wmjh-cpqj-4v6x
CPE names Threatist (inferred) · 1
Inferred from how NVD named this product before; not given by a source.
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:gradio_project:gradio:*:*:*:*:*:*:*:* | — | — | gradio-app |
- cpe:2.3:a:gradio_project:gradio:*:*:*:*:*:*:*:* Versions — — ·gradio-app
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2025-5320
- 2026-10-03 Alias added: GHSA-wmjh-cpqj-4v6x
References
More gradio-app vulnerabilities
- TI-2024-26222 Gradio v4.36.1 was discovered to contain a code injection vulnerability via the component… CVSS 3.1CRITICAL 9.8
- TI-2024-01607 Local File Inclusion in gradio-app/gradio CVSS 3.1HIGH 7.5
- TI-2024-00889 LFI in Gradio CVSS 3.1CRITICAL 9.4
- TI-2025-16852 Gradio Blocked Path ACL Bypass Vulnerability CVSS 4.0HIGH 8.7
- TI-2026-22690 Gradio has SSRF via Malicious `proxy_url` Injection in `gr.load()` Config Processing CVSS 3.1HIGH 8.6
- TI-2024-09866 Path Traversal in gradio-app/gradio CVSS 3.0HIGH 8.2
Sources
- CVE-2025-5320 · CVE Program
- CVE-2025-5320 · NVD
- FIRST EPSS
- GHSA-wmjh-cpqj-4v6x · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences