Improper access control in Gradio - CVE-2024-47084

 

Improper access control in Gradio - CVE-2024-47084

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


Vulnerability identifier: #VU128295
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2024-47084
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 user to make unauthorized requests and disclose sensitive information.

The vulnerability exists due to improper access control in CustomCORSMiddleware when handling cross-origin requests with a cookie present. A remote user can host a malicious website to make unauthorized requests and disclose sensitive information.

This impacts locally deployed instances that use basic authentication, and exploitation requires the victim to visit a malicious website while logged in.


How to mitigate CVE-2024-47084

Install security update from vendor's website.

Sources