Arbitrary file upload in Gradio - CVE-2025-48889

 

Arbitrary file upload in Gradio - CVE-2025-48889

Published: June 23, 2025


Vulnerability identifier: #VU111747
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P/U:Green
CVE-ID: CVE-2025-48889
CWE-ID: CWE-434
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vendor: Gradio
Affected software:
Gradio

Detailed vulnerability description

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to the flagging component does not properly validate file paths before copying files. A remote attacker can send specially crafted requests and copy any readable file from the server's filesystem.


How to mitigate CVE-2025-48889

Install updates from vendor's website.

Sources