{"cve":"CVE-2024-51751","nvd":{"published":"2024-11-06T20:15:05.557","modified":"2026-06-17T08:06:15.817","status":"Analyzed","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5},"cwes":["CWE-22"],"references":["https://github.com/gradio-app/gradio/security/advisories/GHSA-rhm9-gp5p-5248"],"products":["gradio_project:gradio"],"source":"nvd","synced_at":"2026-10-19T21:57:07.693694550+00:00"},"epss":{"cve":"CVE-2024-51751","score":0.00681,"percentile":0.52456,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-rhm9-gp5p-5248","url":"https://osv.dev/vulnerability/GHSA-rhm9-gp5p-5248","summary":"Gradio vulnerable to arbitrary file read with File and UploadButton components","modified":"2026-06-05T18:00:15.209708622Z","packages":[{"ecosystem":"PyPI","name":"gradio","purl":"pkg:pypi/gradio","ranges":[">=5.0.0 <5.5.0"],"fixed":["5.5.0"]}]},{"id":"PYSEC-2024-275","url":"https://osv.dev/vulnerability/PYSEC-2024-275","summary":"","modified":"2026-05-20T09:19:01.741927Z","packages":[{"ecosystem":"PyPI","name":"gradio","purl":"pkg:pypi/gradio","ranges":[">=5.0.0 <5.5.0"],"fixed":["5.5.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}