CVE-2025-5320

published 29 May 2025 · updated 1 Jun 2025

gradio-app gradio CORS is_valid_origin privilege escalation

4.7MediumCVSS 3.7EPSS 0%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
gradio-app=5.29.0, =5.29.1

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-5320 severity on Zeptric[![CVE-2025-5320](https://zeptric.io/badge/cve/CVE-2025-5320.svg)](https://zeptric.io/cve/CVE-2025-5320)