Advisory

GHSA-7v2w-h4gh-w5cv

Also known as: CVE-2024-8021, PYSEC-2026-1411

Summary

Gradio Vulnerable to Open Redirect

Details

An open redirect vulnerability exists in the latest version of gradio-app/gradio. The vulnerability allows an attacker to redirect users to a malicious website by URL encoding. This can be exploited by sending a crafted request to the application, which results in a 302 redirect to an attacker-controlled site.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-03-20 12:32 UTC
Modified
2026-07-07 17:57 UTC

Affected packages and fixes

gradio

PyPI · All systems

Affected

  • introduced 0, last affected 4.37.2 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

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