CVE-2025-5320
MEDIUM 6.3CVSS 4.0Gradio CORS Origin Validation Bypass Vulnerability
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.
- Published
- 29 May 2025
- Last modified
- 7 Jul 2026
- Assigned by
- cna@vuldb.com
- NVD status
- Deferred
- Weakness
- CWE-345
- Also known as
- GHSA-wmjh-cpqj-4v6xPYSEC-2026-1423
- Sources
- NVDJSONOSV GHSA-wmjh-cpqj-4v6xJSONOSV PYSEC-2026-1423JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | cna@vuldb.com (Secondary) | CVSS 4.0 | MEDIUM 6.3 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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/E:P | |
| OSV | PyPA | CVSS 4.0 | 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/E:P | |
| NVD | cna@vuldb.com (Secondary) | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N |
| OSV | PyPA | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N |
| NVD | cna@vuldb.com (Secondary) | CVSS 2.0 | LOW 2.6 | AV:N/AC:H/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | gradio | >= 5.0.0, <= 5.29.1 |
References
- https://gist.github.com/superboy-zjc/aa3dfa161d7b19d8a53ab4605792f2fe · WEB
- https://gist.github.com/superboy-zjc/aa3dfa161d7b19d8a53ab4605792f2fe#proof-of-concept-poc · WEB
- https://vuldb.com/?ctiid.310491 · WEB
- https://vuldb.com/?id.310491 · WEB
- https://vuldb.com/?submit.580250 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-5320 · ADVISORY
- https://github.com/gradio-app/gradio · PACKAGE
- https://pypi.org/project/gradio · PACKAGE
- https://github.com/advisories/GHSA-wmjh-cpqj-4v6x · ADVISORY
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 29 May 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 29 May 2025)