Skip to content
GradioGHSA-m842-4qm8-7gpq

Gradio allows users to access arbitrary files

Critical8.1CVE-2024-1728 · Published Sep 25, 2024 · updated Jun 29, 2026

GitHub advisory

Affected versions

PackageAffectedFixed in
gradio
PyPI
< 4.19.24.19.2
Details and references

### 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

CVSS 3.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Severity from
GitHub (reviewed advisory)
Weakness
CWE-22
Also known as
CVE-2024-1728, PYSEC-2026-345

More Gradio advisories

All Gradio
DateAdvisory
Oct 102024Gradios's CORS origin validation is not performed when the request has a cookie
CVE-2024-47084High8.8fixed in 4.44.0
Oct 102024Gradio's `is_in_or_equal` function may be bypassed
CVE-2024-47164Medium6.5fixed in 5.0.0
Oct 102024Gradio's CORS origin validation accepts the null origin
CVE-2024-47165Medium5.4fixed in 5.0.0
Oct 102024Gradio has a one-level read path traversal in `/custom_component`
CVE-2024-47166Medium5.3fixed in 4.44.0
Oct 102024Gradio vulnerable to SSRF in the path parameter of /queue/join
CVE-2024-47167Medium7.2fixed in 5.0.0
Oct 102024In Gradio, the `enable_monitoring` flag set to `False` does not disable monitoring
CVE-2024-47168Low4.3fixed in 4.44.0

Critical advisories by email

Wednesdays: the week’s critical and high advisories in the AI and data stack, with the fixed versions. Only in weeks that have some.

Double opt-in. Unsubscribe any time.