# CVE-2026-48545: Gradio session fixation via shared proxy cookie jar

Source: https://junglewise.ai/threats/cve-2026-48545-gradio-session-fixation-via-shared-proxy-cookie-jar  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-05-27. Updated: 2026-07-01  
License: CC BY 4.0 with a link back

CVE-2026-48545 · Severity: medium · CVSS 6.8 · Published 2026-05-27

Gradio, a popular Python library for building machine learning web interfaces, contains a vulnerability in how it handles web requests through its proxy service. An attacker who controls a malicious "Space" (a hosted Gradio app) can inject tracking or session cookies into the shared system. This allows the attacker to potentially hijack the sessions of other users or impersonate them when they interact with legitimate applications on the same platform.

Technologies: [gradio (PyPI)](https://junglewise.ai/threats/technologies/gradio). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2026-48545 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-48545 being exploited in the wild.

**How severe is CVE-2026-48545?** Medium severity, with a CVSS score of 6.8, published 27 May 2026.

**Which products and versions are affected?** gradio (PyPI) < 6.15.0, ECOSYSTEM:introduced=0,fixed=6.15.0.

**Is there a fix for CVE-2026-48545?** Yes. gradio (PyPI): upgrade to 6.15.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-48545 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-48545?** Check whether you run gradio (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- gradio (PyPI): upgrade to 6.15.0 or later

  ```sh
  pip install "gradio>=6.15.0"
  ```


## Technical details

Gradio versions prior to 6.15.0 utilize a shared, module-level httpx.AsyncClient for the /proxy={url} endpoint. This shared client automatically persists 'Set-Cookie' headers in a global cookie jar. An attacker controlling a malicious Hugging Face Space can return a cookie with 'Domain=hf.space', which the shared client then replays in subsequent requests to any other legitimate Space on the same parent domain. This results in session fixation, where a victim's request to a legitimate service is forced to use a session identifier known to the attacker. The vulnerability is mitigated in version 6.15.0 by isolating cookie jars.

## Affected products

- Gradio Gradio < 6.15.0

## Identifiers

- CVE-2026-48545
- GHSA-7hp7-4p35-3cx2
- PYSEC-2026-2178

## Timeline

- 2026-05-07: disclosed: Initial report via GitHub issues
- 2026-05-27: advisory: GHSA and CVE published
- 2026-05-27: patched: Version 6.15.0 released

## References

- [https://github.com/gradio-app/gradio/issues/13369](https://github.com/gradio-app/gradio/issues/13369)
- [https://github.com/gradio-app/gradio/pull/13384](https://github.com/gradio-app/gradio/pull/13384)
- [https://github.com/gradio-app/gradio/commit/feb7237d01f359d2ad4ee42d00344e61692b3b39](https://github.com/gradio-app/gradio/commit/feb7237d01f359d2ad4ee42d00344e61692b3b39)
- [https://www.vulncheck.com/advisories/gradio-cookie-injection-via-shared-pro](https://www.vulncheck.com/advisories/gradio-cookie-injection-via-shared-pro)
- [https://github.com/gradio-app/gradio/releases/tag/gradio@6.15.0](https://github.com/gradio-app/gradio/releases/tag/gradio@6.15.0)

## Related threats

- [PYSEC-2026-1423 - Gradio CORS Origin Validation Bypass Vulnerability](https://junglewise.ai/threats/cve-2025-5320-gradio-cors-origin-validation-bypass-vulnerability)
- [PYSEC-2026-1410 - Gradio DOS in multipart boundry while uploading the file](https://junglewise.ai/threats/cve-2024-8966-gradio-dos-in-multipart-boundry-while-uploading-the-file)
- [PYSEC-2026-1411 - Gradio Vulnerable to Open Redirect](https://junglewise.ai/threats/cve-2024-8021-gradio-vulnerable-to-open-redirect)
- [PYSEC-2026-1418 - Gradio Path Traversal vulnerability](https://junglewise.ai/threats/cve-2024-12217-gradio-path-traversal-vulnerability)
- [PYSEC-2026-1417 - Gradio Vulnerable to Arbitrary File Deletion](https://junglewise.ai/threats/cve-2024-10648-gradio-vulnerable-to-arbitrary-file-deletion)
