Read the docs
TI-2025-31039 Aliases CVE-2025-48889GHSA-8jw3-6x8j-v96g

Gradio Allows Unauthorized File Copy via Path Manipulation

Priority HIGH 72CWE-434Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
None · None · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-434.

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00688 52nd percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed gradio (gradio-app): 5.31.0gradio (PyPI): 5.31.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
gradio-appgradiobefore 5.31.05.31.0Patch availableCNA
—gradio (PyPI)before 5.31.05.31.0Patch availableGHSA-8jw3-6x8j-v96g
  • gradio Vendorgradio-app Affected before 5.31.0 Fixed in 5.31.0 Patch available CNA
  • gradio (PyPI) Vendor— Affected before 5.31.0 Fixed in 5.31.0 Patch available GHSA-8jw3-6x8j-v96g

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:gradio_project:gradio:*:*:*:*:*:python:*:*5.25.2 to before 5.31.0Vulnerablegradio-app
  • cpe:2.3:a:gradio_project:gradio:*:*:*:*:*:python:*:* Versions 5.25.2 to before 5.31.0 Vulnerable ·gradio-app

Remediation

  • Fix · CNA gradio (gradio-app) Fixed in 5.31.0
  • Fix · GHSA-8jw3-6x8j-v96g gradio (PyPI) Fixed in 5.31.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-48889
  2. 2026-10-03 Alias added: GHSA-8jw3-6x8j-v96g
  3. 2026-10-08 EPSS moved to the 50th–90th percentile

References

  • TI-2024-26222 Gradio v4.36.1 was discovered to contain a code injection vulnerability via the component… CVSS 3.1CRITICAL 9.8
  • TI-2024-01607 Local File Inclusion in gradio-app/gradio CVSS 3.1HIGH 7.5
  • TI-2024-00889 LFI in Gradio CVSS 3.1CRITICAL 9.4
  • TI-2025-16852 Gradio Blocked Path ACL Bypass Vulnerability CVSS 4.0HIGH 8.7
  • TI-2026-22690 Gradio has SSRF via Malicious `proxy_url` Injection in `gr.load()` Config Processing CVSS 3.1HIGH 8.6
  • TI-2024-09866 Path Traversal in gradio-app/gradio CVSS 3.0HIGH 8.2
See all 49 →

Sources