Skip to main content
← All vulnerabilities
CVE-2025-48889PYSEC-2025-119GHSA-8JW3-6X8J-V96G

Gradio Allows Unauthorized File Copy via Path Manipulation

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.31.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • gradio-app gradio

    fixed in 5.31.0

  • gradioPyPI

    From 5.25.2 · fixed in 5.31.0

  • gradioPyPI

    fixed in 5.31.0

References 1

GitHub · gradio-app/gradio