All reports
Low

Gradio CORS Origin Validation Bypass Vulnerability

Affected versions

Version ranges need review.

Affected versions
>=5.0.0 <=5.29.1
Fixed version
Not reported
Affected versions
>= 5.0.0, <= 5.29.1
Fixed version
Not reported

Exploitation

CVE-2025-5320

Probability of exploitation in the next 30 days: 0.27%

FIRST EPSS · 2026-11-19

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

Links