{"id":"CVE-2025-48889","published":"2025-05-30T06:12:32Z","modified":"2025-05-30T12:25:35Z","title":"Gradio Allows Unauthorized File Copy via Path Manipulation","vendor":"gradio-app","product":"gradio","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00722,"percentile":0.54929,"provenance":"source"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"references":[{"url":"https://github.com/gradio-app/gradio/security/advisories/GHSA-8jw3-6x8j-v96g","tags":["x_refsource_CONFIRM"]}],"priority":{"score":14.7,"factors":[{"name":"EPSS percentile","points":10.99},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"gradio-app","affectedVersions":[{"vendor":"gradio-app","product":"gradio","versions":["< 5.31.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2025-05-30T12:25:32.162253Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"gradio","vulnerableRanges":["<5.31.0",">=5.25.2, <5.31.0"],"patched":["5.31.0"],"from":["GHSA-8jw3-6x8j-v96g","PYSEC-2025-119"],"provenance":"source"}],"summary":{"text":"The flaw is an arbitrary file copy vulnerability in the flagging feature of Gradio, an open-source Python package for building demos and web applications for machine learning models. An attacker who can reach the application without authentication can copy any readable file from the server's filesystem, though they cannot read the copied files, and can cause denial of service by copying large files such as /dev/urandom to fill disk space.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:40:21Z"},"euvd":{"id":"EUVD-2025-16432","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2024-47872","published":"2024-10-10","fixed":"5.0.0","kev":false},{"cve":"CVE-2024-51751","published":"2024-11-06","fixed":"5.5.0","kev":false},{"cve":"CVE-2025-23042","published":"2025-01-14","fixed":"5.11.0","kev":false,"link":{"from":"CVE-2025-23042","to":"CVE-2025-48889","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:gradio","fromFixed":"5.11.0","toFixed":"5.31.0","daysApart":136}]}},{"cve":"CVE-2025-48889","published":"2025-05-30","fixed":"5.31.0","kev":false},{"cve":"CVE-2026-27167","published":"2026-02-27","fixed":"6.6.0","kev":false},{"cve":"CVE-2026-28415","published":"2026-02-27","fixed":"6.6.0","kev":false},{"cve":"CVE-2026-28416","published":"2026-02-27","fixed":"6.6.0","kev":false}],"package":"PyPI:gradio"}}