CVE-2025-48889

Gradio Allows Unauthorized File Copy via Path Manipulation

HIGH
7.5
CVSS Score
Published: May 30, 2025 at 06:12 AM UTC
Updated: June 17, 2026 at 09:30 AM UTC
2 products affected across 2 vendorsGradioProject Gradio

Using gradio by gradio-app?

Get instant alerts when new vulnerabilities affect gradio - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.5
Exploit prediction
EPSS 0.7%
SSVC
PoC

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.25.2 ≤ v < 5.31.0
Affected range stops below 5.31.0, so it looks safe — our inference, not a vendor statement
v < 5.31.0
Affected range stops below 5.31.0, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

References (1)

SSVC — Action Prioritization

SSVCPoCAutomatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-434

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card