{"data":{"id":"3b9c156c-1367-49d5-8bae-fe83010f4353","title":"CVE-2024-2206: An SSRF vulnerability exists in the gradio-app/gradio due to insufficient validation of user-supplied URLs in the…","summary":"CVE-2024-2206 is an SSRF flaw in gradio-app/gradio caused by insufficient validation of user-supplied URLs in the `/proxy` route. An attacker can add arbitrary URLs to `self.replica_urls` through the `X-Direct-Url` header on requests to `/` and `/config`, enabling unauthorized proxying and potential access to internal endpoints within the Hugging Face space.","solution":"N/A -- no mitigation discussed in source.","labels":["security"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2024-2206","publishedAt":"2024-03-27T05:15:46.613Z","cveId":"CVE-2024-2206","cweIds":["CWE-918"],"cvssScore":"6.5","cvssSeverity":"medium","severity":"medium","attackType":["other"],"issueType":"vulnerability","affectedPackages":["gradio@< 4.18.0 (fixed: 4.18.0)"],"affectedPackageNames":["gradio"],"affectedPackageRefs":["pypi:gradio"],"affectedVendors":["HuggingFace"],"affectedVendorsRaw":["Gradio","Hugging Face Spaces"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":"gradio-app/gradio SSRF through the /proxy route via X-Direct-Url header","headlinePromptVersion":"h1","cvssVector":null,"attackVector":null,"attackComplexity":null,"privilegesRequired":null,"userInteraction":null,"exploitMaturity":"unknown","epssScore":0.00421,"epssCheckedAt":"2026-11-04T06:10:14.105Z","kevDateAdded":null,"advisoryAliases":["GHSA-r364-m2j9-mf4h"],"affectedPackagesSource":"ghsa","affectedPackagesCheckedAt":"2026-10-10T03:56:23.518Z","patchAvailable":true,"disclosureDate":null,"fixReleasedAt":"2024-02-10T06:22:37.614Z","daysToFix":-46,"fixCheckedAt":"2026-10-29T21:46:17.933Z","capecIds":["CAPEC-664"],"crossRefCount":0,"attackSophistication":"moderate","impactType":["confidentiality","integrity"],"aiComponentTargeted":"framework","llmSpecific":false,"classifierConfidence":0.9,"researchCategory":null,"atlasIds":null,"fixes":[{"ecosystem":"pypi","name":"gradio","fixedVersion":"4.18.0","matchedVersion":"4.18.0","fixReleasedAt":"2024-02-10T06:22:37.614Z","daysToFix":-46,"match":"ecosystem","source":"tracked","status":"found","checkedAt":"2026-10-29T21:46:17.777Z"}]}}