Description
Gradio before version 6.15.0 contains a cookie injection vulnerability that allows remote attackers to perform cross-Space session fixation by exploiting a shared module-level HTTP client used across all users in the reverse proxy endpoint. Attackers controlling any HF Space can return a parent-domain cookie that the shared client stores and automatically replays into all subsequent proxy requests to other legitimate Spaces, affecting all users of the same Gradio deployment.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| gradio-app | gradio | < 6.15.0 | 6.15.0 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | gradio | < 6.15.0 | 6.15.0 | GHSA-7hp7-4p35-3cx2 |
References
- gradio gradio@6.15.0 Release Notes release-notes
- https://github.com/gradio-app/gradio/issues/13369 issue-tracking
- https://github.com/gradio-app/gradio/pull/13384 issue-tracking patch
- https://github.com/gradio-app/gradio/commit/feb7237d01f359d2ad4ee42d00344e61692b3b39 patch
- https://www.vulncheck.com/advisories/gradio-cookie-injection-via-shared-pro third-party-advisory