CVE-2025-5320 MEDIUM

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

Vendor Gradio-App
Product gradio
Weakness CWE-346 · Origin validation
Published May 29, 2025
Last update June 1, 2025

CVSS base score

6.3/10
Attack vector Network
Attack complexity High
Privileges required None
User interaction None
Confidentiality
Integrity

CVSS vector

CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

May 29, 2025 CVE published
June 1, 2025 Record updated

Related vulnerabilities

04Related CVE