CVE-2023-25823
CWE-798Published: February 23, 2023· Updated: Jun 17, 2026
Official 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.
Risk Analysis
Gradio versions prior to 3.13.1 contain a hard-coded credential vulnerability that exposes private SSH keys when sharing is enabled. This allows unauthorized users to access other users' shared demos and potentially gain further system access.
No public exploit is known, and it is not in the KEV catalog. The vulnerability is remotely exploitable with low complexity.
Users should upgrade to Gradio version 3.19.1 or later to ensure the FRP solution is properly implemented.
Technical Analysis
CVE-2023-25823 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.
The vulnerability requires no privileges and no user interaction, making it a prime target for automated exploitation campaigns and worm-like propagation.
A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 9.8.
CVSS v3.1 Vector Breakdown
Affected Vendors & Products
Exploit & PoC Resources
Official Patches & Advisories
All References (2)
Quick Facts
Related CVEs (CWE-798)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2023-25823 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts