Gradio 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 origin validation error. 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.
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| Python (PyPI) | gradio | >= 5.0.0, <= 5.29.1 | keine Korrektur |
Verweise
- https://nvd.nist.gov/vuln/detail/CVE-2025-5320
- https://gist.github.com/superboy-zjc/aa3dfa161d7b19d8a53ab4605792f2fe
- https://gist.github.com/superboy-zjc/aa3dfa161d7b19d8a53ab4605792f2fe#proof-of-concept-poc
- https://github.com/gradio-app/gradio
- https://vuldb.com/?ctiid.310491
- https://vuldb.com/?id.310491
- https://vuldb.com/?submit.580250
- https://pypi.org/project/gradio
- https://github.com/advisories/GHSA-wmjh-cpqj-4v6x
- CVSS-Vektor
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N- Schwäche (CWE)
CWE-345- Plattform
- Python (PyPI)
- Paket
gradio- Veröffentlicht
- 29.05.2025
- Aktualisiert
- 11.10.2026 13:18
Quellen und Lizenzen
OSV / GitHub Advisory Database - PYSEC-2026-1423 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-wmjh-cpqj-4v6x - CC BY 4.0
Schwachstellenhistorie: gradio
Alle veröffentlichten Schwachstellen dieses Pakets (Python (PyPI)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
- Einträge insgesamt
- 51
- Erste → letzte
- 12.2021 07.2026
- Ohne Fix
- 13
- In Angriffen ausgenutzt
- 0
Verteilung nach Schweregrad
- Kritisch 5
- Hoch 19
- Mittel 22
- Niedrig 5
Veröffentlichungen pro Jahr
- 2021: 1
- 2022: 1
- 2023: 5
- 2024: 28
- 2025: 9
- 2026: 7
-
Gradio CORS Origin Validation Bypass Vulnerability dieser Eintrag
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.