CVE-2023-25823 in Gradio Project Gradio
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 connect...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Gradio Project | Gradio | < 3.13.1 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2023-25823 |
|---|---|
| BreachSpider ID | BS-2023-GLOBAL-061501-C |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published | 2023-02-23 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-798: Use of Hard-Coded Credentials
Software contains embedded passwords or keys that cannot be changed by the administrator.
Related attack patterns (CAPEC)
CAPEC-70 Try Common or Default Usernames and Passwords via CWE-798
CAPEC-191 Read Sensitive Constants Within an Executable via CWE-798
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
Gradio versions prior to 3.13.1 contain a critical vulnerability where a private SSH key is exposed to users connecting via share links, potentially allowing unauthorized access to other users' shared Gradio applications.
The vulnerability arises from the improper handling of SSH keys in Gradio's share functionality. When a user creates a Gradio app with `share=True`, a private SSH key is sent to the client, which can be exploited by malicious users to gain unauthorized access to other shared Gradio applications.
Questions
What is CVE-2023-25823?
Gradio versions prior to 3.13.1 contain a critical vulnerability where a private SSH key is exposed to users connecting via share links, potentially allowing unauthorized access to other users' shared Gradio applications.
What is the CVSS score for CVE-2023-25823?
CVE-2023-25823 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.7%.
Is CVE-2023-25823 actively exploited?
No confirmed active exploitation of CVE-2023-25823 as of 2026-09-25.
How do I remediate CVE-2023-25823?
Priority: IMMEDIATE. PSIRT: [email protected]
What systems are affected by CVE-2023-25823?
CVE-2023-25823 affects Gradio Project Gradio.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Gradio Project","product":"Gradio","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.