# CVE-2025-48889: Gradio Allows Unauthorized File Copy via Path Manipulation

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.73%, higher than 55% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-05-29T22:36:59.000Z
- Modified: 2026-06-17T09:30:26.400Z
- Also known as: GHSA-8jw3-6x8j-v96g, PYSEC-2025-119
- Weaknesses: CWE-434
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- gradio-app gradio: < 5.31.0
- gradio (PyPI): before 5.31.0; from 5.25.2 before 5.31.0
- gradio_project gradio: from 5.25.2 before 5.31.0

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- PyPA Advisory Database: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/gradio-app/gradio/security/advisories/GHSA-8jw3-6x8j-v96g> (exploit, evidence, third-party-advisory, web)
- <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)

## Sources

- CVE List: [CVE-2025-48889](https://www.cve.org/CVERecord?id=CVE-2025-48889), CVE Terms of Use, modified 2025-05-30
- GitHub Advisory Database: [GHSA-8jw3-6x8j-v96g](https://github.com/advisories/GHSA-8jw3-6x8j-v96g), CC-BY-4.0, modified 2026-06-05
- NVD: [CVE-2025-48889](https://nvd.nist.gov/vuln/detail/CVE-2025-48889), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2025-119](https://osv.dev/vulnerability/PYSEC-2025-119), CC-BY-4.0, modified 2026-05-20

---

Page: https://cve.day/CVE-2025-48889 · Whole record: https://cve.day/CVE-2025-48889.json · Rebuilt by cve.day 2026-11-25T22:58:58.580Z
