CVE-2023-25823Gradio Project Gradio
Critical 9.8 No auth needed
Follow: this CVE · Gradio Project · Gradio Project Gradio We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 0.7% probability of exploitation in 30 days · percentile 49
- Auth required
- No
- Published
- Feb 23, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-798
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Gradio.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | gradio |
< 3.13.1 |
3.13.1 |
pip install "gradio>=3.13.1" |
| PyPI | gradio |
< 3.13.1 |
3.13.1 |
pip install "gradio>=3.13.1" |
Per OSV / GitHub Advisories (GHSA-3x5j-9vwr-8rr5, PYSEC-2023-16). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| gradio_project | gradio | < 3.13.1 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Vendor Advisory