Security mailing lists by PureSourceCode

CVE-2024-51751

MEDIUM 6.5CVSS 3.1

Gradio vulnerable to arbitrary file read with File and UploadButton components

Gradio is an open-source Python package designed to enable quick builds of a demo or web application. 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. This issue has been addressed in release version 5.5.0 and all users are advised to upgrade. There are no known workarounds for this vulnerability.

Published
6 Nov 2024
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-200CWE-22
Also known as
GHSA-rhm9-gp5p-5248PYSEC-2024-275
Sources
NVDJSONOSV GHSA-rhm9-gp5p-5248JSONOSV PYSEC-2024-275JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
OSV PyPA CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
OSV GitHub CVSS 3.1 NONE 0.0 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD gradio_project gradio
cpe:2.3:a:gradio_project:gradio:*:*:*:*:*:python:*:*
>= 5.0.0, < 5.5.0 5.5.0
OSV PyPI gradio >= 5.0.0, < 5.5.0 5.5.0

References

History

  • 25 Nov 2026 20:56 UTC · NVD: first stored (published 6 Nov 2024)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 6 Nov 2024)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 6 Nov 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.