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: 6.9 [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]
CVE-ID: CVE-2024-47084
CWE-ID: CWE-284
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

Gradio

How to mitigate CVE-2024-47084

Install security update from vendor's website.

Gradio - update to 4.44.0

External References

Related Security Bulletins