CVE-2025-5320

gradio-app gradio CORS is_valid_origin privilege escalation

State
Published
Severity
6.3 Medium
Published
May 29, 2025
Updated
Jun 1, 2025
Reserved
May 29, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.06.3 MediumCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:NVulDB
3.13.7 LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:NVulDB
3.03.7 LowCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:NVulDB
2.02.6 LowAV:N/AC:H/Au:N/C:N/I:P/A:NVulDB

Weaknesses

  • CWE-346 Origin Validation Error
  • CWE-345 Insufficient Verification of Data Authenticity

Affected Products

ProductVersions
gradiogradio-app
  • 5.29.0Affected
  • 5.29.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.