What’s Vulnerable › Vulnerabilities
CVE-2025-5320: gradio-app gradio CORS is_valid_origin privilege escalation
- Severity: low (CVSS 3.7 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-05-29 · updated 2026-06-17
- Weakness: CWE-345
Description
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.
Affected products
- gradio-app gradio: 5.29.0, 5.29.1
References
- https://gist.github.com/superboy-zjc/aa3dfa161d7b19d8a53ab4605792f2fe
- https://gist.github.com/superboy-zjc/aa3dfa161d7b19d8a53ab4605792f2fe#proof-of-concept-poc
- https://vuldb.com/?ctiid.310491
- https://vuldb.com/?id.310491
- https://vuldb.com/?submit.580250
Get alerted when CVE-2025-5320 or the next vulnerability affects your stack