CVE-2025-48889
HIGH 7.5CVSS 3.1Gradio Allows Unauthorized File Copy via Path Manipulation
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.
- Published
- 30 May 2025
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-434
- Also known as
- GHSA-8jw3-6x8j-v96gPYSEC-2025-119
- Sources
- NVDJSONOSV GHSA-8jw3-6x8j-v96gJSONOSV PYSEC-2025-119JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | PyPA | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | gradio_project | gradiocpe:2.3:a:gradio_project:gradio:*:*:*:*:*:python:*:* |
>= 5.25.2, < 5.31.0 | 5.31.0 |
| OSV | PyPI | gradio | < 5.31.0 | 5.31.0 |
| OSV | PyPI | gradio | >= 5.25.2, < 5.31.0 | 5.31.0 |
References
- https://github.com/gradio-app/gradio/security/advisories/GHSA-8jw3-6x8j-v96g · Exploit, Third Party Advisory, WEB, EVIDENCE
- https://nvd.nist.gov/vuln/detail/CVE-2025-48889 · ADVISORY
- https://github.com/gradio-app/gradio · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/gradio/PYSEC-2025-119.yaml · WEB
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 30 May 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 30 May 2025)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 29 May 2025)