GHSA-xh2x-3mrm-fwqm · Severity: high · Ecosystem: pip — Gradio has a race condition in update_root_in_config may redirect user traffic
Gradio is an open-source Python package designed for quick prototyping. This vulnerability involves a **race condition** in the `update_root_in_config` function, allowing an attacker to modify the `root` URL used by the Gradio frontend to communicate with the backend. By exploiting this flaw, an attacker can redirect user traffic to a malicious server. This could lead to the interception of sensitive data such as authentication credentials or uploaded files. This impacts all users who connect to a Gradio server, especially those exposed to the internet, where malicious actors could exploit this race condition. Users are advised to upgrade to `gradio>=5` to address this issue. There are no known workarounds for this issue.
Conclusion & alert: CVE-2024-47870 is rated Moderate Risk (42.8/100): CVSS High severity, with low exploitation likelihood (EPSS 0.19%). Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-03-01 | 0.14% | 0.19% | +0.05% |
| 2 | 2025-11-22 | 0.18% | 0.14% | -0.04% |
| 3 | 2025-11-21 | — | 0.18% | — |
Full EPSS history (9 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 7.1 | 4.0 | HIGH |
|
— | — | [email protected] |
| 8.1 | 3.1 | HIGH |
|
2.2 | 5.9 | [email protected] |
GHSA-xh2x-3mrm-fwqm · Severity: high · Ecosystem: pip — Gradio has a race condition in update_root_in_config may redirect user traffic
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| gradio_project | gradio | < 5.0.0 | cpe:2.3:a:gradio_project:gradio:*:*:*:*:*:python:*:* |
| URL | Tags |
|---|---|
| https://github.com/gradio-app/gradio/security/advisories/GHSA-xh2x-3mrm-fwqm | Third Party Advisory |