CVE-2026-48545: Gradio Gradio Contains A Cookie Injection Vulnerability
HIGHCVE-2026-48545 is a HIGH (CVSS 6.8) gradio contains a cookie injection vulnerability (CWE-384: Session Fixation) affecting Gradio libraries in the PyPI ecosystem. The issue involves gradio contains a cookie injection vulnerability. Remediation is available by upgrading affected packages to version 6.15.0.
CVE-2026-48545 at a Glance
Security Impact
CVSS: 6.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N).
How to Fix CVE-2026-48545
To remediate this vulnerability, upgrade all affected Gradio dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install gradio>=6.15.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show gradio
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2026-48545, inspect your installed packages using pip:
pip show gradio
Analyze the terminal output to locate any version of Gradio in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 6.15.0), your application is affected.
Note: The pip show gradio command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-384: Session Fixation, where authenticating a user, or otherwise establishing a new user session, without invalidating any existing session identifier gives an attacker the opportunity to steal authenticated sessions. In Gradio, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-48545 Affected Gradio Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
gradio
|
PyPI |
< 6.15.0
|
6.15.0
|
References
Frequently Asked Questions
What is CVE-2026-48545?
Which Gradio versions are affected?
What version fixes CVE-2026-48545?
Is gradio affected?
What is the CVSS score of CVE-2026-48545?
What CWE is associated with CVE-2026-48545?
How can I check PyPI dependencies for CVE-2026-48545?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-7hp7-4p35-3cx2",
"modified" : "2026-07-01T19:33:16Z",
"published" : "2026-05-27T15:33:26Z",
"aliases" : [ "CVE-2026-48545" ],
"summary" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "gradio"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "6.15.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-48545"
}, {
"type" : "WEB",
"url" : "https://github.com/gradio-app/gradio/issues/13369"
}, {
"type" : "WEB",
"url" : "https://github.com/gradio-app/gradio/pull/13384"
}, {
"type" : "WEB",
"url" : "https://github.com/gradio-app/gradio/commit/feb7237d01f359d2ad4ee42d00344e61692b3b39"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/gradio-app/gradio"
}, {
"type" : "WEB",
"url" : "https://github.com/gradio-app/gradio/releases/tag/gradio@6.15.0"
}, {
"type" : "WEB",
"url" : "https://www.vulncheck.com/advisories/gradio-cookie-injection-via-shared-pro"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-384" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-07-01T19:33:16Z",
"nvd_published_at" : "2026-05-27T15:16:31Z"
}
}