CVE-2024-47870
CVE-2024-47870 — Race condition in update_root_in_config may redirect user traffic in Gradio
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.
Published Updated Sources: cvelistV5, GitHub_M
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
<1%
chance of exploitation in 30 days
CVSS base
7.1
HIGH
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
None
none · proof-of-concept · active
Automatable
No
can an attacker script all four kill-chain steps
Technical impact
Total
partial · total control of the vulnerable component
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (2)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 7.1 | CVSS 4.0 | HIGH | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-362
References
1 on the record
- github.com/gradio-app/gradio/security/advisories/GHSA-xh2x-3mrm-fwqm
x_refsource_CONFIRM
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2021-21166 Google Chromium Race Condition VulnerabilityCVSS 8.8 · CISA KEV
- CVE-2020-6820 Mozilla Firefox And Thunderbird Use-After-Free VulnerabilityCVSS 8.1 · CISA KEV
- CVE-2020-6819 Mozilla Firefox And Thunderbird Use-After-Free VulnerabilityCVSS 8.1 · CISA KEV
- CVE-2025-43510 Apple Multiple Products Improper Locking VulnerabilityCVSS 7.8 · CISA KEV
- CVE-2023-36884 Microsoft Windows Search Remote Code Execution VulnerabilityCVSS 7.5 · CISA KEV
- CVE-2025-62215 Windows Kernel Elevation of Privilege VulnerabilityCVSS 7.0 · CISA KEV
Elsewhere on this site
- Gradio Appevery CVE for this vendor
- Gradio Projectevery CVE for this vendor
- CWE-362other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.