Advisory

GHSA-f3h9-8phc-6gvh

Also known as: CVE-2024-0964, PYSEC-2024-261

Summary

Gradio Path Traversal vulnerability

Details

A local file include could be remotely triggered in Gradio due to a vulnerable user-supplied JSON value in an API request.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2024-02-06 00:30 UTC
Modified
2026-05-19 20:30 UTC

Affected packages and fixes

gradio

PyPI · All systems

Affected

  • introduced 0, fixed 4.9.0 (ecosystem)

Fixed versions

4.9.0

Fix

  • Fixed version 4.9.0
    pip install --upgrade gradio==4.9.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