Skip to content
MediumVulnerability

CVE-2025-48889: Gradio arbitrary file copy in flagging feature allows unauthenticated attackers

Identifier
CVE-2025-48889
Published
Record updated
View JSON
Affected
  • gradio < 5.31.0
Fixed in
5.31.0
  • released May 22, 2025, 8 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.7%

Summary

Gradio, an open-source Python package for building demos and web applications for machine learning models, has an arbitrary file copy vulnerability in its flagging feature in versions prior to 5.31.0. Unauthenticated attackers can copy any readable file from the server's filesystem, though they cannot read the copies, and can cause denial of service by copying large files such as /dev/urandom to fill disk space.

Mitigation

Fixed in version 5.31.0.