Advisory

GHSA-wmjh-cpqj-4v6x

Also known as: CVE-2025-5320, PYSEC-2026-1423

Summary

Gradio CORS Origin Validation Bypass Vulnerability

Details

A vulnerability classified as problematic has been found in gradio-app gradio up to 5.29.1. This affects the function is_valid_origin of the component CORS Handler. The manipulation of the argument localhost_aliases leads to origin validation error. It is possible to initiate the attack remotely. The complexity of an attack is rather high. The exploitability is told to be difficult. The exploit has been disclosed to the public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.

Severity

Low Basis: The source's own band: LOW

Dates

Published
2025-05-29 15:31 UTC
Modified
2026-07-07 17:56 UTC

Affected packages and fixes

gradio

PyPI · All systems

Affected

  • introduced 5.0.0, last affected 5.29.1 (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