# CVE-2023-25823: Gradio contains Use of Hard-coded Credentials

- Severity: Medium 5.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.55%, higher than 47% of CVEs (2026-12-01)
- Published: 2023-02-23T21:34:33.129Z
- Modified: 2026-09-10T03:49:51.933Z
- Also known as: GHSA-3x5j-9vwr-8rr5, PYSEC-2023-16
- Weaknesses: CWE-798
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- gradio-app gradio: < 3.13.1
- gradio (PyPI): before 3.13.1
- gradio_project gradio: before 3.13.1

## Every score

- GitHub_M: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:L`
- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:L`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:L/SA:L`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/gradio-app/gradio/security/advisories/GHSA-3x5j-9vwr-8rr5> (advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-25823> (advisory)
- <https://github.com/gradio-app/gradio> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/gradio/PYSEC-2023-16.yaml> (web)

## Sources

- CVE List: [CVE-2023-25823](https://www.cve.org/CVERecord?id=CVE-2023-25823), CVE Terms of Use, modified 2025-03-10
- GitHub Advisory Database: [GHSA-3x5j-9vwr-8rr5](https://github.com/advisories/GHSA-3x5j-9vwr-8rr5), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2023-25823](https://nvd.nist.gov/vuln/detail/CVE-2023-25823), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2023-16](https://osv.dev/vulnerability/PYSEC-2023-16), CC-BY-4.0, modified 2023-11-08

---

Page: https://cve.day/CVE-2023-25823 · Whole record: https://cve.day/CVE-2023-25823.json · Rebuilt by cve.day 2026-11-25T22:58:22.128Z
