{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-47870","published":"2024-10-10T23:15:03.070000Z","last_modified":"2026-06-17T07:57:53.347000Z","status":"Analyzed","cvss":{"version":"4.0","score":7.1,"severity":"HIGH","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"security-advisories@github.com","primary":false},"auth":true,"cwes":["CWE-362"],"cpes":[{"criteria":"cpe:2.3:a:gradio_project:gradio:*:*:*:*:*:python:*:*","part":"a","vendor":"gradio_project","product":"gradio","version_end_excluding":"5.0.0"}],"cpes_truncated":false,"vendors":["gradio_project"],"products":["gradio_project/gradio"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total"},"epss":{"score":0.00657,"percentile":0.46278,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-xh2x-3mrm-fwqm","ecosystem":"PyPI","name":"gradio","purl":"pkg:pypi/gradio","ranges":[{"introduced":"0","fixed":"5.0.0"}],"versions":["3.13.1b1","3.13.1b2","3.13.2","3.14.0","3.14.0a1","3.15.0","3.16.0","3.16.1","3.16.1b1","3.16.2","3.17.0","3.17.1","3.17.1b1","3.17.1b2","3.18.0","3.18.1b1","3.18.1b2","3.18.1b3","3.18.1b4","3.18.1b5","3.18.1b6","3.18.1b7","3.19.0","3.19.1","3.2","3.2.1b0","3.2.1b1","3.2.1b2","3.20.0","3.20.0b1","3.20.0b2","3.20.1","3.21.0","3.22.0","3.22.1","3.22.1b1","3.23.0","3.23.1b1","3.23.1b2","3.23.1b3","3.24.0","3.24.1","3.25.0","3.25.1b1","3.25.1b2","3.26.0","3.27.0","3.28.0","3.28.1","3.28.2","3.28.3","3.28.4b0","3.29.0","3.3","3.3.1","3.30.0","3.31.0","3.32.0","3.33.0","3.33.1","3.34.0","3.35.0","3.35.1","3.35.2","3.36.0","3.36.1","3.37.0","3.38.0","3.39.0","3.3b0","3.3b1","3.4","3.4.1","3.40.0","3.40.1","3.41.0","3.41.1","3.41.2","3.42.0","3.43.0","3.43.1","3.43.2","3.44.0","3.44.1","3.44.2","3.44.3","3.44.4","3.45.0","3.45.0b0","3.45.0b10","3.45.0b11","3.45.0b12","3.45.0b13","3.45.0b9","3.45.1","3.45.2","3.46.0","3.46.1","3.47.0","3.47.1","3.48.0","3.49.0","3.4b0","3.4b1","3.4b2","3.4b3","3.4b5","3.5","3.50.0","3.50.1","3.50.2","3.6","3.6.0b1","3.6.0b10","3.6.0b2","3.6.0b3","3.6.0b7","3.7","3.8","3.8.1","3.8.1.dev1","3.8.2","3.8b1","3.8b2","3.9","3.9.1","4.0.0","4.0.0b15","4.0.1","4.0.2","4.1.0","4.1.1","4.1.2","4.10.0","4.11.0","4.12.0","4.13.0","4.14.0","4.15.0","4.16.0","4.17.0","4.18.0","4.19.0","4.19.1","4.19.2","4.2.0","4.20.0","4.20.1","4.21.0","4.22.0","4.23.0","4.24.0","4.25.0","4.26.0","4.27.0","4.28.0","4.28.1","4.28.2","4.28.3","4.29.0","4.3.0","4.31.0","4.31.1","4.31.2","4.31.3","4.31.4","4.31.5","4.32.0","4.32.1","4.32.2","4.33.0","4.35.0","4.36.0","4.36.1","4.37.1","4.37.2","4.38.0","4.38.1","4.39.0","4.4.0","4.4.1","4.40.0","4.41.0","4.42.0","4.43.0","4.44.0","4.44.1","4.5.0","4.7.0","4.7.1","4.8.0","4.9.0","4.9.1","5.0.0b1","5.0.0b10","5.0.0b5","5.0.0b6","5.0.0b7","5.0.0b8","5.0.0b9"],"versions_truncated":false},{"advisory":"PYSEC-2024-218","ecosystem":"PyPI","name":"gradio","purl":"pkg:pypi/gradio","ranges":[{"introduced":"0","fixed":"5.0.0"}],"versions":["3.13.1b1","3.13.1b2","3.13.2","3.14.0","3.14.0a1","3.15.0","3.16.0","3.16.1","3.16.1b1","3.16.2","3.17.0","3.17.1","3.17.1b1","3.17.1b2","3.18.0","3.18.1b1","3.18.1b2","3.18.1b3","3.18.1b4","3.18.1b5","3.18.1b6","3.18.1b7","3.19.0","3.19.1","3.2","3.2.1b0","3.2.1b1","3.2.1b2","3.20.0","3.20.0b1","3.20.0b2","3.20.1","3.21.0","3.22.0","3.22.1","3.22.1b1","3.23.0","3.23.1b1","3.23.1b2","3.23.1b3","3.24.0","3.24.1","3.25.0","3.25.1b1","3.25.1b2","3.26.0","3.27.0","3.28.0","3.28.1","3.28.2","3.28.3","3.28.4b0","3.29.0","3.3","3.3.1","3.30.0","3.31.0","3.32.0","3.33.0","3.33.1","3.34.0","3.35.0","3.35.1","3.35.2","3.36.0","3.36.1","3.37.0","3.38.0","3.39.0","3.3b0","3.3b1","3.4","3.4.1","3.40.0","3.40.1","3.41.0","3.41.1","3.41.2","3.42.0","3.43.0","3.43.1","3.43.2","3.44.0","3.44.1","3.44.2","3.44.3","3.44.4","3.45.0","3.45.0b0","3.45.0b10","3.45.0b11","3.45.0b12","3.45.0b13","3.45.0b9","3.45.1","3.45.2","3.46.0","3.46.1","3.47.0","3.47.1","3.48.0","3.49.0","3.4b0","3.4b1","3.4b2","3.4b3","3.4b5","3.5","3.50.0","3.50.1","3.50.2","3.6","3.6.0b1","3.6.0b10","3.6.0b2","3.6.0b3","3.6.0b7","3.7","3.8","3.8.1","3.8.1.dev1","3.8.2","3.8b1","3.8b2","3.9","3.9.1","4.0.0","4.0.0b15","4.0.1","4.0.2","4.1.0","4.1.1","4.1.2","4.10.0","4.11.0","4.12.0","4.13.0","4.14.0","4.15.0","4.16.0","4.17.0","4.18.0","4.19.0","4.19.1","4.19.2","4.2.0","4.20.0","4.20.1","4.21.0","4.22.0","4.23.0","4.24.0","4.25.0","4.26.0","4.27.0","4.28.0","4.28.1","4.28.2","4.28.3","4.29.0","4.3.0","4.31.0","4.31.1","4.31.2","4.31.3","4.31.4","4.31.5","4.32.0","4.32.1","4.32.2","4.33.0","4.35.0","4.36.0","4.36.1","4.37.1","4.37.2","4.38.0","4.38.1","4.39.0","4.4.0","4.4.1","4.40.0","4.41.0","4.42.0","4.43.0","4.44.0","4.44.1","4.5.0","4.7.0","4.7.1","4.8.0","4.9.0","4.9.1","5.0.0b1","5.0.0b10","5.0.0b5","5.0.0b6","5.0.0b7","5.0.0b8","5.0.0b9"],"versions_truncated":false}],"severity":"high","priority_score":43,"links":{"html_es":"/es/cve/CVE-2024-47870/","html_en":"/en/cve/CVE-2024-47870/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-47870","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-47870"},"untrusted":{"vendor_name":"Gradio Project","product_name":"Gradio","desc_en":"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.","affected":[{"untrusted_vendor":"gradio-app","untrusted_product":"gradio","versions":[]},{"untrusted_vendor":"gradio_project","untrusted_product":"gradio","versions":[]}],"references":[{"url":"https://github.com/gradio-app/gradio/security/advisories/GHSA-xh2x-3mrm-fwqm","tags":["Third Party Advisory"]}]}}