Skip to content
CriticalVulnerability

CVE-2024-47871: Gradio insecure communication between FRP client and server when share=True

Identifier
CVE-2024-47871
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.2%

Summary

Gradio, an open-source Python package for quick prototyping, has insecure communication between its FRP (Fast Reverse Proxy) client and server when the `share=True` option is used. HTTPS is not enforced, so an attacker can intercept and read files uploaded to the Gradio server and modify responses or data passed between client and server. The exposure affects users who share Gradio demos publicly with `share=True` without proper encryption.

Mitigation

Upgrade to `gradio>=5`. As a workaround, avoid `share=True` in production and host Gradio applications on servers with HTTPS enabled.