ADVISORIES

Vulnerability

CVE-2024-1728

gradio-app/gradio is vulnerable to a local file inclusion vulnerability due to improper validation of user-supplied input in the UploadButton component. Attackers can exploit this vulnerability to read arbitrary files on the filesystem, such as private SSH keys, by manipulating the file path in the request to the `/queue/join` endpoint. This issue could potentially lead to remote code execution. The vulnerability is present in the handling of file upload paths, allowing attackers to redirect file uploads to unintended locations on the server.

2 advisories report this vulnerability, across 1 ecosystem.

High severity PyPI 2

Advisories in PyPI

  • GHSA-m842-4qm8-7gpq

    Gradio allows users to access arbitrary files

    Critical CVE-2024-1728 PyPI Updated 27 October 2026
  • PYSEC-2026-345

    Gradio allows users to access arbitrary files

    CVE-2024-1728 PyPI Updated 1 July 2026

References