Gradio 5 Security Audit and Vulnerability Fixes
Key point
Gradio has released Gradio 5, fixing all vulnerabilities discovered through a security audit by Trail of Bits.
Details
Gradio is the standard tool for building ML web applications, with over 6 million monthly PyPI installs. To strengthen security, Hugging Face commissioned the specialized security firm Trail of Bits to conduct an independent security audit of Gradio.
The audit identified security risks in the following 4 major scenarios:
- Locally run apps: Account takeover risk due to CORS policy misconfiguration
- Server-deployed apps: SSRF (Server-Side Request Forgery) and XSS (Cross-Site Scripting) vulnerabilities
- Share links: Security threats via the built-in sharing feature
- Supply chain: Vulnerabilities via the CI pipeline
All discovered security issues were reflected and fixed in the Gradio 5.0 release. This allows developers to build secure ML applications without needing separate, complex security configurations.
This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.
Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.