CVE-2021-43831

published 15 Dec 2021 · updated 4 Aug 2024

Files on the host computer can be accessed from the Gradio interface

8.7HighCVSS 7.7EPSS 4%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 4%. No fixed version is recorded.

Gradio is an open source framework for building interactive machine learning models and demos. In versions prior to 2.5.0 there is a vulnerability that affects anyone who creates and publicly shares Gradio interfaces. File paths are not restricted and users who receive a Gradio link can access any files on the host computer if they know the file names or file paths. This is limited only by the host operating system. Paths are opened in read only mode. The problem has been patched in gradio 2.5.0.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
gradio-app<2.5.0

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-43831 severity on Zeptric[![CVE-2021-43831](https://zeptric.io/badge/cve/CVE-2021-43831.svg)](https://zeptric.io/cve/CVE-2021-43831)