Gradio contains a cookie injection vulnerability
Published 27 May 2026 · Updated 13 Jul 2026
Is your project on an affected gradio?
Look after several Python apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected package
- Affected
- <6.15.0
- Fixed in
- 6.15.0
pip install 'gradio>=6.15.0'Details
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.
Is GHSA-7hp7-4p35-3cx2 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected gradio, and gives you the command that fixes it.
More advisories for gradio
- HighCVE-2026-49119 Gradio FileExplorer preprocess path traversal allows files outside root_dir to reach callbacks · 1 Jul 2026
- LowCVE-2026-10783Gradio: Audio cache key ignores metadata when saving numpy audio outputs · 4 Jun 2026
- HighCVE-2026-28416Gradio has SSRF via Malicious `proxy_url` Injection in `gr.load()` Config Processing · 1 Mar 2026
- MediumCVE-2026-28415Gradio has an Open Redirect in its OAuth Flow · 1 Mar 2026
- HighCVE-2026-28414Gradio is Vulnerable to Absolute Path Traversal on Windows with Python 3.13+ · 1 Mar 2026
- LowCVE-2026-27167Gradio: Mocked OAuth Login Exposes Server Credentials and Uses Hardcoded Session Secret · 1 Mar 2026
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2026-48545
- Linkgithub.com/gradio-app/gradio/issues/13369
- Linkgithub.com/gradio-app/gradio/pull/13384
- Linkgithub.com/gradio-app/gradio/commit/feb7237d01f359d2ad4ee42d00344e61692b3b39
- Packagegithub.com/gradio-app/gradio
- Linkgithub.com/gradio-app/gradio/releases/tag/gradio@6.15.0
- Linkwww.vulncheck.com/advisories/gradio-cookie-injection-via-shared-pro
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.