Moderate severityNVD Advisory· Published May 30, 2025· Updated May 30, 2025
Gradio Allows Unauthorized File Copy via Path Manipulation
CVE-2025-48889
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
gradioPyPI | < 5.31.0 | 5.31.0 |
Affected products
2- Range: < 5.31.0
Patches
Vulnerability mechanics
References
4- github.com/advisories/GHSA-8jw3-6x8j-v96gghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-48889ghsaADVISORY
- github.com/gradio-app/gradio/security/advisories/GHSA-8jw3-6x8j-v96gghsax_refsource_CONFIRMWEB
- github.com/pypa/advisory-database/tree/main/vulns/gradio/PYSEC-2025-119.yamlghsaWEB
News mentions
0No linked articles in our index yet.