Improper access control in Gradio - CVE-2024-47165

 

Improper access control in Gradio - CVE-2024-47165

Published: October 10, 2024 / Updated: April 28, 2026


Vulnerability identifier: #VU128293
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2024-47165
CWE-ID: CWE-284
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Gradio
Affected software:
Gradio

Detailed vulnerability description

The vulnerability allows a remote attacker to disclose sensitive information.

The vulnerability exists due to improper access control in CORS origin validation when handling requests from a null origin. A remote attacker can send unauthorized cross-origin requests from a sandboxed iframe or other null-origin source to disclose sensitive information.

This affects locally deployed instances and may expose user authentication tokens or uploaded files.


How to mitigate CVE-2024-47165

Install security update from vendor's website.

Sources