CVE-2021-43831 HIGH

CVE-2021-43831: Files on the host computer can be accessed from the Gradio interface

Vendor Gradio-App
Product gradio
Weakness CWE-22 · Path traversal
Published December 15, 2021
Last update August 4, 2024

CVSS base score

7.7/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality High
Integrity None

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

December 15, 2021 CVE published
August 4, 2024 Record updated