{"id":"CVE-2023-25823","aliases":["CVE-2023-25823","GHSA-3x5j-9vwr-8rr5","PYSEC-2023-16"],"related":[],"kind":"vulnerability","state":"published","title":"Gradio contains Use of Hard-coded Credentials","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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":"cvelist"},{"lang":"en","text":"### Impact\nThis is a vulnerability which affects anyone using Gradio's share links (i.e. creating a Gradio app and then setting `share=True`) with Gradio versions older than 3.13.1. In these older versions of Gradio, 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. \n\n### Patches\nThe problem has been patched. Ideally, users should upgrade to `gradio==3.19.1` or later where the FRP solution has been properly tested. \n\n### Credit\nCredit to Greg Sadetsky and Samuel Tremblay-Cossette for alerting the team","format":"markdown","source":"ghsa"}],"published":"2023-02-23T21:34:33.129Z","modified":"2026-09-10T03:49:51.933Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:L","score":5.4,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:L","score":5.4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:L","score":5.4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-798"],"affected":[{"ranges":[{"version":"< 3.13.1","status":"affected"}],"vendor":"gradio-app","product":"gradio","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.13.1"}],"ecosystem":"PyPI","package":"gradio","purl":"pkg:pypi/gradio","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"3.13.1"}],"vendor":"gradio_project","product":"gradio","cpe":"cpe:2.3:a:gradio_project:gradio:*:*:*:*:*:python:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.13.1"}],"ecosystem":"PyPI","package":"gradio","purl":"pkg:pypi/gradio","source":"pysec"}],"references":[{"url":"https://github.com/gradio-app/gradio/security/advisories/GHSA-3x5j-9vwr-8rr5","tags":["advisory","vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-25823","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/gradio-app/gradio","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/gradio/PYSEC-2023-16.yaml","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-03-10T20:56:59.828Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-25823","url":"https://www.cve.org/CVERecord?id=CVE-2023-25823","licence":"CVE Terms of Use","modified":"2025-03-10T21:06:29.065Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-3x5j-9vwr-8rr5","url":"https://github.com/advisories/GHSA-3x5j-9vwr-8rr5","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:51.933Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-25823","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-25823","licence":"Public domain","modified":"2026-06-17T05:42:03.870Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2023-16","url":"https://osv.dev/vulnerability/PYSEC-2023-16","licence":"CC-BY-4.0","modified":"2023-11-08T04:11:56.117Z"}],"updatedAt":"2026-11-25T22:58:22.128Z","epss":{"score":0.00553,"percentile":0.47561,"date":"2026-12-01T12:00:22.000Z"}}