{"id":"CVE-2023-34239","aliases":["CVE-2023-34239","GHSA-3qqg-pgqq-3695","PYSEC-2023-90"],"related":[],"kind":"vulnerability","state":"published","title":"Unfiltered paths in gradio","summary":"Gradio is an open-source Python library that is used to build machine learning and data science. Due to a lack of path filtering Gradio does not properly restrict file access to users. Additionally Gradio does not properly restrict the what URLs are proxied. These issues have been addressed in version 3.34.0. Users are advised to upgrade. There are no known workarounds for this vulnerability.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Gradio is an open-source Python library that is used to build machine learning and data science. Due to a lack of path filtering Gradio does not properly restrict file access to users. Additionally Gradio does not properly restrict the what URLs are proxied. These issues have been addressed in version 3.34.0. Users are advised to upgrade. There are no known workarounds for this vulnerability.","source":"cvelist"},{"lang":"en","text":"### Impact\nThere are two separate security vulnerabilities here: (1) a security vulnerability that allows users to read arbitrary files on the machines that are running shared Gradio apps (2) the ability of users to use machines that are sharing Gradio apps to proxy arbitrary URLs\n\n### Patches\nBoth problems have been solved, please upgrade `gradio` to `3.34.0` or higher\n\n### Workarounds\nNot possible to workaround except by taking down any shared Gradio apps\n\n### References\nRelevant PRs:\n* https://github.com/gradio-app/gradio/pull/4406\n* https://github.com/gradio-app/gradio/pull/4370","format":"markdown","source":"ghsa"}],"published":"2023-06-07T23:20:06.549Z","modified":"2026-09-10T03:50:01.984Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","score":7.3,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","score":7.3,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","score":7.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","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:N","score":9.1,"rating":"CRITICAL"}],"cwes":["CWE-20"],"affected":[{"ranges":[{"version":"< 3.34.0","status":"affected"}],"vendor":"gradio-app","product":"gradio","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.34.0"}],"ecosystem":"PyPI","package":"gradio","purl":"pkg:pypi/gradio","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"3.34.0"}],"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.34.0"}],"ecosystem":"PyPI","package":"gradio","purl":"pkg:pypi/gradio","source":"pysec"}],"references":[{"url":"https://github.com/gradio-app/gradio/security/advisories/GHSA-3qqg-pgqq-3695","tags":["advisory","vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/gradio-app/gradio/pull/4370","tags":["fix","patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/gradio-app/gradio/pull/4406","tags":["fix","patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-34239","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/gradio-app/gradio/commit/37967617bd97615fb6f3b44e7750c0e0be58479a","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/gradio-app/gradio/commit/37967617bd97615fb6f3b44e7750c0e0be58479a#diff-324a7165f5d5a8823a28b76f5653fa45f32c8144c82b2e528882c97c7eae534f","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/gradio-app/gradio/commit/cd64130d54e678525774bbb200ef9c7166fa1543","tags":["web"],"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-90.yaml","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2025-01-06T20:33:03.353Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-34239","url":"https://www.cve.org/CVERecord?id=CVE-2023-34239","licence":"CVE Terms of Use","modified":"2025-01-06T20:33:11.589Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-3qqg-pgqq-3695","url":"https://github.com/advisories/GHSA-3qqg-pgqq-3695","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:01.984Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-34239","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-34239","licence":"Public domain","modified":"2026-06-17T06:03:11.900Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2023-90","url":"https://osv.dev/vulnerability/PYSEC-2023-90","licence":"CC-BY-4.0","modified":"2023-11-08T04:12:45.338Z"}],"updatedAt":"2026-11-25T22:58:24.679Z","epss":{"score":0.00651,"percentile":0.5253,"date":"2026-12-02T12:00:21.000Z"}}