CVE-2023-34239
CRITICAL 9.1CVSS 3.1Gradio vulnerable to arbitrary file read and proxying of arbitrary URLs
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.
- Published
- 8 Jun 2023
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-20
- Also known as
- GHSA-3qqg-pgqq-3695PYSEC-2023-90
- Sources
- NVDJSONOSV GHSA-3qqg-pgqq-3695JSONOSV PYSEC-2023-90JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | gradio_project | gradiocpe:2.3:a:gradio_project:gradio:*:*:*:*:*:python:*:* |
< 3.34.0 | 3.34.0 |
| OSV | PyPI | gradio | < 3.34.0 | 3.34.0 |
References
- https://github.com/gradio-app/gradio/pull/4370 · Patch, WEB, FIX
- https://github.com/gradio-app/gradio/pull/4406 · Patch, WEB, FIX
- https://github.com/gradio-app/gradio/security/advisories/GHSA-3qqg-pgqq-3695 · Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2023-34239 · ADVISORY
- https://github.com/gradio-app/gradio/commit/37967617bd97615fb6f3b44e7750c0e0be58479a · WEB
- https://github.com/gradio-app/gradio/commit/37967617bd97615fb6f3b44e7750c0e0be58479a#diff-324a7165f5d5a8823a28b76f5653fa45f32c8144c82b2e528882c97c7eae534f · WEB
- https://github.com/gradio-app/gradio/commit/cd64130d54e678525774bbb200ef9c7166fa1543 · WEB
- https://github.com/gradio-app/gradio · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/gradio/PYSEC-2023-90.yaml · WEB
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 8 Jun 2023)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 8 Jun 2023)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 9 Jun 2023)