CVE-2024-1728
PyPI vulnerability
### 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
Affected products
PyPI. The exact versions are in the references.
What to do now
- Check your exposureFind out whether PyPI runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/gradio-app/gradio/security/advisories/GHSA-m842-4qm8-7gpq
- github.com/gradio-app/gradio/commit/16fbe9cd0cffa9f2a824a0165beb43446114eec7
- nvd.nist.gov/vuln/detail/CVE-2024-1728
- huntr.com/bounties/9bb33b71-7995-425d-91cc-2c2a2f2a068a
- github.com/advisories/GHSA-m842-4qm8-7gpq
- github.com/pypa/advisory-database/tree/main/vulns/gradio/PYSEC-2026-345.yaml
- pypi.org/project/gradio
- nvd.nist.gov/vuln/detail/CVE-2024-1728
- cve.org/CVERecord?id=CVE-2024-1728
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.