VDB
KO

PYSEC-2021-873

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI / gradio
Introduced in: 0 Fixed in: 41bd3645bdb616e1248b2167ca83636a2653f781
Fix pip install --upgrade 'gradio>=41bd3645bdb616e1248b2167ca83636a2653f781'

References