Skip to content
HighVulnerability

CVE-2021-43831: Gradio arbitrary file read through publicly shared interface links

Identifier
CVE-2021-43831
Published
Record updated
View JSON
Affected
  • gradio < 2.5.0
Fixed in
2.5.0
  • released December 14, 2021, 2 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
3.9%

Summary

Gradio versions prior to 2.5.0 do not restrict file paths, so anyone who receives a publicly shared Gradio link can read any file on the host if they know its name or path. Access is limited only by the host operating system, and paths are opened in read-only mode.

Mitigation

Fixed in gradio 2.5.0.