Vulnerability · Published May 29, 2025 · Assigned by VulDB

CVE-2025-5320gradio-app gradio CORS is_valid_origin privilege escalation

Low 3.7

In plain English

A low-severity insufficient verification of data authenticity in gradio from gradio-app. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 19% of all known vulnerabilities).

Severity (CVSS 3.1)3.7Low
Exploit odds (30 days)0.3%top 81.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIgradiono fix listedGHSA-wmjh-cpqj-4v6x
PyPIgradiono fix listedPYSEC-2026-1423

Affected products (as reported)

VendorProductVersions
gradio-app gradio 5.29.05.29.1

Weakness: CWE-346, CWE-345 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N

References