CVE-2025-5320
gradio-app gradio CORS is_valid_origin privilege escalation
- State
- Published
- Severity
- 6.3 Medium
- Published
- May 29, 2025
- Updated
- Jun 1, 2025
- Reserved
- May 29, 2025
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 6.3 Medium | CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N | VulDB |
| 3.1 | 3.7 Low | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N | VulDB |
| 3.0 | 3.7 Low | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N | VulDB |
| 2.0 | 2.6 Low | AV:N/AC:H/Au:N/C:N/I:P/A:N | VulDB |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
gradiogradio-app |
|
References
- VDB-310491 | gradio-app gradio CORS is_valid_origin privilege escalationvdb-entrytechnical-description
- VDB-310491 | CTI Indicators (IOB, IOC, IOA)signaturepermissions-required
- Submit #580250 | gradio <=5.29.1 Cross-Site Request Forgerythird-party-advisory
- https://gist.github.com/superboy-zjc/aa3dfa161d7b19d8a53ab4605792f2ferelated
- https://gist.github.com/superboy-zjc/aa3dfa161d7b19d8a53ab4605792f2fe#proof-of-concept-pocexploit
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.