AI and data stack advisories

Severe, 6 weeks1498Projects326

1498 severe, 6 weeks · 326 projects

GradioGHSA-wmjh-cpqj-4v6x

Gradio CORS Origin Validation Bypass Vulnerability

Gradio

CVE-2025-5320 · Published May 29, 2025 · updated Jul 7, 2026

Low3.7
No fix yet
GitHub advisory

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.

Affected versions

PackageAffectedFixed in
gradio
PyPI
>= 5.0.0, <= 5.29.1No fix yet
Details and references

More Gradio advisories

All Gradio