CVE-2025-48889
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.
INFO
Published Date :
May 30, 2025, 6:15 a.m.
Last Modified :
Aug. 26, 2025, 4:28 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source | 
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | [email protected] | ||||
| CVSS 3.1 | HIGH | [email protected] | 
Solution
- Update Gradio to version 5.31.0 or later.
- Verify the Gradio version after updating.
- Monitor disk space usage for potential DoS.
References to Advisories, Solutions, and Tools
                                            Here, you will find a curated list of external links that provide in-depth
                                            information, practical solutions, and valuable tools related to
                                            CVE-2025-48889.
                                        
| URL | Resource | 
|---|---|
| https://github.com/gradio-app/gradio/security/advisories/GHSA-8jw3-6x8j-v96g | Third Party Advisory Exploit | 
| https://github.com/gradio-app/gradio/security/advisories/GHSA-8jw3-6x8j-v96g | Third Party Advisory Exploit | 
CWE - Common Weakness Enumeration
            While CVE identifies
            specific instances of vulnerabilities, CWE categorizes the common flaws or
            weaknesses that can lead to vulnerabilities. CVE-2025-48889 is
            associated with the following CWEs:
        
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
            (CAPEC)
            stores attack patterns, which are descriptions of the common attributes and
            approaches employed by adversaries to exploit the CVE-2025-48889
            weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
			The following list is the news that have been mention
			CVE-2025-48889 vulnerability anywhere in the article.
		
 
									- 
                                                            
                                                                BleepingComputer 
Security firms debate CVE credit in overlapping vulnerability reports
Cybersecurity company FuzzingLabs has accused the Y Combinator-backed startup, Gecko Security, of replicating its vulnerability disclosures and backdating blog posts. According to the company, Gecko f ... Read more
 
									- 
                                                            
                                                                BleepingComputer 
Security firms dispute credit for overlapping CVE reports
Cybersecurity company FuzzingLabs has accused the Y Combinator-backed startup, Gecko Security, of replicating its vulnerability disclosures and backdating blog posts. According to the company, Gecko f ... Read more
                The following table lists the changes that have been made to the
                CVE-2025-48889 vulnerability over time.
            
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
- 
                            Initial Analysis by [email protected]Aug. 26, 2025 Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Added CPE Configuration OR *cpe:2.3:a:gradio_project:gradio:*:*:*:*:*:python:*:* versions from (including) 5.25.2 up to (excluding) 5.31.0 Added Reference Type CISA-ADP: https://github.com/gradio-app/gradio/security/advisories/GHSA-8jw3-6x8j-v96g Types: Exploit, Third Party Advisory Added Reference Type GitHub, Inc.: https://github.com/gradio-app/gradio/security/advisories/GHSA-8jw3-6x8j-v96g Types: Exploit, Third Party Advisory 
- 
                            CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0May. 30, 2025 Action Type Old Value New Value Added Reference https://github.com/gradio-app/gradio/security/advisories/GHSA-8jw3-6x8j-v96g 
- 
                            New CVE Received by [email protected]May. 30, 2025 Action Type Old Value New Value Added 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. Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L Added CWE CWE-434 Added Reference https://github.com/gradio-app/gradio/security/advisories/GHSA-8jw3-6x8j-v96g 
 
                         
                         
                         
                                             
                                            