Skip to content
HighVulnerability

CVE-2024-47868: Gradio arbitrary file leak through post-processing of file data components

Identifier
CVE-2024-47868
Published
Record updated
View JSON
Affected
  • gradio < 5.0.0
Fixed in
5.0.0
  • released October 9, 2024, 2 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.8%

Summary

Several Gradio components allow arbitrary file leaks through the post-processing step. Attackers can bypass expected input constraints with crafted requests and read files such as `/etc/passwd`, which may be combined with issue TOB-GRADIO-15 to expose sensitive files to unauthorized users.

Mitigation

This issue has been resolved in `gradio>5.0`. Upgrading to the latest version will mitigate this vulnerability. There are no known workarounds for this vulnerability.