Advisory

GHSA-3qqg-pgqq-3695

Also known as: CVE-2023-34239, PYSEC-2023-90

Summary

Gradio vulnerable to arbitrary file read and proxying of arbitrary URLs

Details

Impact
There 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

Patches
Both problems have been solved, please upgrade gradio to 3.34.0 or higher

Workarounds
Not possible to workaround except by taking down any shared Gradio apps

References
Relevant PRs:

  • https://github.com/gradio-app/gradio/pull/4406
  • https://github.com/gradio-app/gradio/pull/4370

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2023-06-09 22:51 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

gradio

PyPI · All systems

Affected

  • introduced 0, fixed 3.34.0 (ecosystem)

Fixed versions

3.34.0

Fix

  • Fixed version 3.34.0
    pip install --upgrade gradio==3.34.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences