CVE-2025-5320 - CVE House
Back to Database
Status published Medium CVE-2025-5320

gradio-app gradio CORS is_valid_origin privilege escalation

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

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2025-5320

Credits & Attribution

The following person or organization is credited with identifying this vulnerability, as recorded in the NVD database:

  • Jiacheng Zhong
  • Zhengyu Liu
  • Gavin Zhong (VulDB User)
  • Gavin Zhong (VulDB User)

Affected Vendor

Affected Software

gradio
Vulnerable Versions:
5.29.0, 5.29.1

Timeline

Official Publish: May 29th, 2025
Last Modified: June 1st, 2025
Added to House: July 22nd, 2026

CVSS Vectors

V3: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N

Weaknesses (CWE)