Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. gradio
  4. ›
  5. CVE-2025-48889

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

May 29, 2025 (updated May 30, 2025)

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.

References

  • github.com/advisories/GHSA-8jw3-6x8j-v96g
  • github.com/gradio-app/gradio
  • github.com/gradio-app/gradio/security/advisories/GHSA-8jw3-6x8j-v96g
  • nvd.nist.gov/vuln/detail/CVE-2025-48889

Code Behaviors & Features

Detect and mitigate CVE-2025-48889 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 5.31.0

Fixed versions

  • 5.31.0

Solution

Upgrade to version 5.31.0 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-434: Unrestricted Upload of File with Dangerous Type

Source file

pypi/gradio/CVE-2025-48889.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 19 Aug 2025 12:18:44 +0000.