Full security audit for local and Spaces usage before Gradio 7
Author: dawoodkhan82Created Sep 28, 2026Updated Sep 28, 2026
Labelstracking
Before the Gradio 7 launch, do a full security audit of Gradio and confirm it is safe to run both locally and on Hugging Face Spaces.
Scope (to refine)
- File access and upload/download routes (allowed/blocked paths,
gr.File, caching) - Queue and SSE endpoints, session handling, CORS, and the Node SSR proxy
- Auth/OAuth flows and cookies
- The MCP server and the API surface exposed to agents
- Custom components and the
gr.HTML/ JS execution surface - Review of past security advisories to confirm fixes still hold
Deliverables
- Findings filed as private advisories or issues as appropriate
- Updated security docs describing the threat model for local vs. hosted apps
Source: gradio-app/gradio