VDB
KO
MEDIUM 6.8

GHSA-7hp7-4p35-3cx2

Gradio contains a cookie injection vulnerability

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI / gradio
Introduced in: 0 Fixed in: 6.15.0
Fix pip install --upgrade 'gradio>=6.15.0'

References