CVE-2025-5320
published medium CVSS 4.0 · 6.3gradio-app gradio CORS is_valid_origin privilege escalation
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| gradio-app | — | gradio5.29.0 · 5.29.1 | Affected | Not stated | VulDB |
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.
Es wurde eine Schwachstelle in gradio-app gradio bis 5.29.1 entdeckt. Sie wurde als problematisch eingestuft. Hiervon betroffen ist die Funktion is_valid_origin der Komponente CORS Handler. Mittels dem Manipulieren des Arguments localhost_aliases mit unbekannten Daten kann eine erweiterte Rechte-Schwachstelle ausgenutzt werden. Der Angriff kann über das Netzwerk angegangen werden. Die Komplexität eines Angriffs ist eher hoch. Sie ist schwierig auszunutzen. Der Exploit steht zur öffentlichen Verfügung.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- VulDB · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 3.7 | low | VulDB · cna | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N | — |
| 3.0 | 3.7 | low | VulDB · cna | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N | — |
| 2.0 | 2.6 | low | VulDB · cna | AV:N/AC:H/Au:N/C:N/I:P/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| gradio-app | gradio | 5.29.0 (affected)5.29.1 (affected) | VulDB · cna |
Weaknesses
2- CWE-346 Origin Validation Error
- CWE-345 Insufficient Verification of Data Authenticity
References
5- https://gist.github.com/superboy-zjc/aa3dfa161d7b19d8a53ab4605792f2fe
- https://gist.github.com/superboy-zjc/aa3dfa161d7b19d8a53ab4605792f2fe#proof-of-concept-poc
- VDB-310491 | CTI Indicators (IOB, IOC, IOA) https://vuldb.com/?ctiid.310491
- VDB-310491 | gradio-app gradio CORS is_valid_origin privilege escalation https://vuldb.com/?id.310491
- Submit #580250 | gradio <=5.29.1 Cross-Site Request Forgery https://vuldb.com/?submit.580250
Provider assertions
2VulDB · cna
gradio-app gradio CORS is_valid_origin privilege escalation
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 3734e619b195aa19c4cbd5da2137b34e8b8d36b6cdf2a8e92a19d1f206ff2fd2
- Ingested
- 23 Sep 2026, 08:54:33 UTC
- Source record
- Official CVE record