gradio
Affected
- introduced
5.25.2, fixed5.31.0(ecosystem)
Fixed versions
5.31.0
Fix
- Fixed version
5.31.0pip install --upgrade gradio==5.31.0
Advisory
Also known as: CVE-2025-48889, GHSA-8jw3-6x8j-v96g
The record has no summary.
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.
High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
5.25.2, fixed 5.31.0 (ecosystem)5.31.0
5.31.0pip install --upgrade gradio==5.31.0Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: PyPA Advisory Database · CC BY 4.0