{"id":"CVE-2025-48889","state":"PUBLISHED","title":"Gradio Allows Unauthorized File Copy via Path Manipulation","description":"Gradio is an open-source Python package that allows quick building of demos and web application for machine learning models, API, or any arbitrary Python function. Prior to version 5.31.0, an arbitrary file copy vulnerability in Gradio's flagging feature allows unauthenticated attackers to copy any readable file from the server's filesystem. While attackers can't read these copied files, they can cause DoS by copying large files (like /dev/urandom) to fill disk space. This issue has been patched in version 5.31.0.","publishedAt":"2025-05-30T06:12:32.703Z","updatedAt":"2025-05-30T12:25:35.195Z","severity":{"score":5.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","source":"GitHub_M"},"assigner":"GitHub_M","products":["gradio-app gradio"],"affected":[{"vendor":"gradio-app","product":"gradio","versions":[{"version":"< 5.31.0","status":"affected"}]}],"references":["https://github.com/gradio-app/gradio/security/advisories/GHSA-8jw3-6x8j-v96g"],"weaknesses":["CWE-434"],"ingestedAt":"2026-10-29T20:09:23.771Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/48xxx/CVE-2025-48889.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-48889","state":"PUBLISHED","datePublished":"2025-05-30T06:12:32.703Z","dateUpdated":"2025-05-30T12:25:35.195Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2025-05-27T20:14:34.297Z"},"containers":{"cna":{"title":"Gradio Allows Unauthorized File Copy via Path Manipulation","descriptions":[{"lang":"en","value":"Gradio is an open-source Python package that allows quick building of demos and web application for machine learning models, API, or any arbitrary Python function. Prior to version 5.31.0, an arbitrary file copy vulnerability in Gradio's flagging feature allows unauthenticated attackers to copy any readable file from the server's filesystem. While attackers can't read these copied files, they can cause DoS by copying large files (like /dev/urandom) to fill disk space. This issue has been patched in version 5.31.0."}],"affected":[{"vendor":"gradio-app","product":"gradio","versions":[{"version":"< 5.31.0","status":"affected"}]}],"references":[{"url":"https://github.com/gradio-app/gradio/security/advisories/GHSA-8jw3-6x8j-v96g","name":"https://github.com/gradio-app/gradio/security/advisories/GHSA-8jw3-6x8j-v96g","tags":["x_refsource_CONFIRM"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-434","lang":"en","description":"CWE-434: Unrestricted Upload of File with Dangerous Type","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2025-05-30T06:12:32.703Z"},"source":{"advisory":"GHSA-8jw3-6x8j-v96g","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/gradio-app/gradio/security/advisories/GHSA-8jw3-6x8j-v96g","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-05-30T12:25:32.162253Z","id":"CVE-2025-48889","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-05-30T12:25:35.195Z"}}]}}}