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

CVE-2024-51751: Gradio vulnerable to arbitrary file read with File and UploadButton components

November 6, 2024

If File or UploadButton components are used as a part of Gradio application to preview file content, an attacker with access to the application might abuse these components to read arbitrary files from the application server.

References

  • github.com/advisories/GHSA-rhm9-gp5p-5248
  • github.com/gradio-app/gradio
  • github.com/gradio-app/gradio/security/advisories/GHSA-rhm9-gp5p-5248
  • nvd.nist.gov/vuln/detail/CVE-2024-51751

Code Behaviors & Features

Detect and mitigate CVE-2024-51751 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 starting from 5.4.0 before 5.5.0, version 5.4.0

Fixed versions

  • 5.5.0

Solution

Upgrade to version 5.5.0 or above.

Impact

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

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor

Source file

pypi/gradio/CVE-2024-51751.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:15:30 +0000.