Advisory

GHSA-m842-4qm8-7gpq

Also known as: CVE-2024-1728, PYSEC-2026-345

Summary

Gradio allows users to access arbitrary files

Details

Impact
This vulnerability allows users of Gradio applications that have a public link (such as on Hugging Face Spaces) to access files on the machine hosting the Gradio application. This involves intercepting and modifying the network requests made by the Gradio app to the server.

Patches
Yes, the problem has been patched in Gradio version 4.19.2 or higher. We have no knowledge of this exploit being used against users of Gradio applications, but we encourage all users to upgrade to Gradio 4.19.2 or higher.

Fixed in: https://github.com/gradio-app/gradio/commit/16fbe9cd0cffa9f2a824a0165beb43446114eec7
CVE: https://nvd.nist.gov/vuln/detail/CVE-2024-1728

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2024-09-25 21:48 UTC
Modified
2026-10-27 16:45 UTC

Affected packages and fixes

gradio

PyPI · All systems

Affected

  • introduced 0, fixed 4.19.2 (ecosystem)

Fixed versions

4.19.2

Fix

  • Fixed version 4.19.2
    pip install --upgrade gradio==4.19.2

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences