Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. gradio
  4. ›
  5. CVE-2024-1728

CVE-2024-1728: Gradio allows users to access arbitrary files

September 25, 2024 (updated February 3, 2026)

This vulnerability allows users of Gradio applications that have a public link (such as on Hugging Face Spaces) to access files on the machine hosting the Gradio application. This involves intercepting and modifying the network requests made by the Gradio app to the server.

References

  • github.com/advisories/GHSA-m842-4qm8-7gpq
  • github.com/gradio-app/gradio
  • github.com/gradio-app/gradio/commit/16fbe9cd0cffa9f2a824a0165beb43446114eec7
  • github.com/gradio-app/gradio/security/advisories/GHSA-m842-4qm8-7gpq
  • huntr.com/bounties/9bb33b71-7995-425d-91cc-2c2a2f2a068a
  • nvd.nist.gov/vuln/detail/CVE-2024-1728

Code Behaviors & Features

Detect and mitigate CVE-2024-1728 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 4.19.2

Fixed versions

  • 4.19.2

Solution

Upgrade to version 4.19.2 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

pypi/gradio/CVE-2024-1728.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 04 Feb 2026 00:34:55 +0000.