What’s Vulnerable › Vulnerabilities
CVE-2023-25823: Gradio contains Use of Hard-coded Credentials
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2023-02-23 · updated 2026-06-17
- Weakness: CWE-798
Description
Gradio is an open-source Python library to build machine learning and data science demos and web applications. Versions prior to 3.13.1 contain Use of Hard-coded Credentials. When using Gradio's share links (i.e. creating a Gradio app and then setting `share=True`), a private SSH key is sent to any user that connects to the Gradio machine, which means that a user could access other users' shared Gradio demos. From there, other exploits are possible depending on the level of access/exposure the Gradio app provides. This issue is patched in version 3.13.1, however, users are recommended to update to 3.19.1 or later where the FRP solution has been properly tested.
Affected products
- gradio-app gradio: before 3.13.1 — fixed in 3.13.1
How to fix
Upgrade to a fixed version: gradio-app gradio 3.13.1. Check the vendor advisory for mitigations.
References
- https://github.com/gradio-app/gradio/security/advisories/GHSA-3x5j-9vwr-8rr5
- https://github.com/gradio-app/gradio/security/advisories/GHSA-3x5j-9vwr-8rr5
Get alerted when CVE-2023-25823 or the next vulnerability affects your stack