Improper access control in Gradio - CVE-2021-43831

 

Improper access control in Gradio - CVE-2021-43831

Published: December 15, 2021 / Updated: April 28, 2026


Vulnerability identifier: #VU128275
CSH Severity: High
CVSSv4.0: CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2021-43831
CWE-ID: CWE-284
Exploitation vector: Adjecent network
Exploit availability: No public exploit available
Vulnerable software:
Gradio
Software vendor:
Gradio

Description

The vulnerability allows a remote attacker to disclose sensitive information.

The vulnerability exists due to improper access control in static file serving when handling requests for user-specified relative file paths. A remote attacker can request a known relative file path to disclose sensitive information.

Exposure is possible while a publicly shared Gradio link is active.


Remediation

Install security update from vendor's website.

External links