CyberAlerts is shutting down on June 30th, 2025. Thank you for your support!

CVE-2025-48889: Gradio Allows Unauthorized File Copy via Path Manipulation

5.3 CVSS

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.

Classification

CVE ID: CVE-2025-48889

CVSS Base Severity: MEDIUM

CVSS Base Score: 5.3

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Problem Types

CWE-434: Unrestricted Upload of File with Dangerous Type

Affected Products

Vendor: gradio-app

Product: gradio

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.07% (probability of being exploited)

EPSS Percentile: 21.72% (scored less or equal to compared to others)

EPSS Date: 2025-06-16 (when was this score calculated)

References

https://nvd.nist.gov/vuln/detail/CVE-2025-48889
https://github.com/gradio-app/gradio/security/advisories/GHSA-8jw3-6x8j-v96g

Timeline