{"data":{"id":"ba70003b-0f49-4132-bba4-7ddbf1a4740d","title":"CVE-2024-47870: Gradio is an open-source Python package designed for quick prototyping. This vulnerability involves a **race…","summary":"CVE-2024-47870 is a race condition in the `update_root_in_config` function of Gradio, an open-source Python package for quick prototyping. An attacker can modify the `root` URL the Gradio frontend uses to reach the backend, redirecting user traffic to a malicious server and potentially exposing authentication credentials or uploaded files. The issue affects all users connecting to a Gradio server, especially internet-exposed deployments.","solution":"Upgrade to `gradio>=5`. There are no known workarounds for this issue.","labels":["security"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2024-47870","publishedAt":"2024-10-11T03:15:03.070Z","cveId":"CVE-2024-47870","cweIds":["CWE-362"],"cvssScore":"8.1","cvssSeverity":"high","severity":"high","attackType":["other"],"issueType":"vulnerability","affectedPackages":["gradio@< 5.0.0 (fixed: 5.0.0)"],"affectedPackageNames":["gradio"],"affectedPackageRefs":["pypi:gradio"],"affectedVendors":[],"affectedVendorsRaw":["Gradio"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":"Gradio race condition in update_root_in_config allows backend URL redirection","headlinePromptVersion":"h1","cvssVector":null,"attackVector":null,"attackComplexity":null,"privilegesRequired":null,"userInteraction":null,"exploitMaturity":"unknown","epssScore":0.00372,"epssCheckedAt":"2026-11-04T18:09:12.821Z","kevDateAdded":null,"advisoryAliases":["GHSA-xh2x-3mrm-fwqm"],"affectedPackagesSource":"ghsa","affectedPackagesCheckedAt":"2026-10-10T03:55:01.856Z","patchAvailable":true,"disclosureDate":null,"fixReleasedAt":"2024-10-09T13:04:16.634Z","daysToFix":-2,"fixCheckedAt":"2026-10-29T21:45:21.107Z","capecIds":["CAPEC-26","CAPEC-29"],"crossRefCount":0,"attackSophistication":"moderate","impactType":["confidentiality","integrity"],"aiComponentTargeted":"framework","llmSpecific":false,"classifierConfidence":0.9,"researchCategory":null,"atlasIds":null,"fixes":[{"ecosystem":"pypi","name":"gradio","fixedVersion":"5.0.0","matchedVersion":"5.0.0","fixReleasedAt":"2024-10-09T13:04:16.634Z","daysToFix":-2,"match":"ecosystem","source":"tracked","status":"found","checkedAt":"2026-10-29T21:45:20.949Z"}]}}