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

Vulnerability details

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.


Affected software

Gradio

How to mitigate CVE-2024-47165

Install security update from vendor's website.

Gradio - update to 5.0.0

External References

Related Security Bulletins