Read the docs
TI-2023-28103 Aliases CVE-2023-51449GHSA-6qm2-wpxq-7qh2

Make the `/file` secure against file traversal attacks

Priority MEDIUM 56CWE-22Published · Updated

Key facts

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

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

Summary

Gradio is an open-source Python package that allows you to quickly build a demo or web application for your machine learning model, API, or any arbitary Python function. Versions of `gradio` prior to 4.11.0 contained a vulnerability in the `/file` route which made them susceptible to file traversal attacks in which an attacker could access arbitrary files on a machine running a Gradio app with a public URL (e.g. if the demo was created with `share=True`, or on Hugging Face Spaces) if they knew the path of files to look for. This issue has been patched in version 4.11.0.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.28336 98th percentileScored 2026-11-07
Fix Fixed gradio (gradio-app): 4.11.0gradio (PyPI): 4.11.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
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 4.11.04.11.0Patch availableCNA
—gradio (PyPI)before 4.11.04.11.0Patch availableGHSA-6qm2-wpxq-7qh2
  • gradio Vendorgradio-app Affected before 4.11.0 Fixed in 4.11.0 Patch available CNA
  • gradio (PyPI) Vendor— Affected before 4.11.0 Fixed in 4.11.0 Patch available GHSA-6qm2-wpxq-7qh2

CPE configurations NVD · 1

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

Remediation

  • Fix · CNA gradio (gradio-app) Fixed in 4.11.0
  • Fix · GHSA-6qm2-wpxq-7qh2 gradio (PyPI) Fixed in 4.11.0 Advisory →

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2023-51449
  2. 2026-10-03 Alias added: GHSA-6qm2-wpxq-7qh2

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