Advisory

PYSEC-2026-2179

Also known as: CVE-2026-49119, GHSA-j36p-7w88-g82j

Summary

The record has no summary.

Details

Gradio before 6.16.0 contain a path traversal vulnerability in the FileExplorer component's preprocess() method that allows unauthenticated attackers to escape the configured root directory by supplying path segments containing directory traversal sequences or absolute paths. Attackers can provide crafted path segments that cause os.path.join to discard the root_dir prefix entirely, resulting in arbitrary file read or exposure of sensitive files outside the intended directory.

Severity

Not rated by the source.

Dates

Published
2026-07-01 19:16 UTC
Modified
2026-10-15 14:45 UTC

Affected packages and fixes

gradio

PyPI · All systems

Affected

  • introduced 0, fixed 6.16.0 (ecosystem)

Fixed versions

6.16.0

Fix

  • Fixed version 6.16.0
    pip install --upgrade gradio==6.16.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: PyPA Advisory Database · CC BY 4.0

Sources & licences