CVE-2025-48889
Gradio Allows Unauthorized File Copy via Path Manipulation
5.3
MEDIUM
CVSS 3.1
EPSS 1.5%
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.
How to fix CVE-2025-48889
To remediate CVE-2025-48889, upgrade the affected package to a fixed version below.
- —upgrade to 5.31.0 or later
- —upgrade to 5.31.0 or later
Is CVE-2025-48889 being exploited?
Low — EPSS is 1.5%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 5.31.0
- >= 5.25.2, < 5.31.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |