CORS Handling Flaw in Gradio by Gradio-App
CVE-2025-5320
Key Information:
- Vendor
Gradio-app
- Status
- Vendor
- CVE Published:
- 29 May 2025
Badges
What is CVE-2025-5320?
A security vulnerability has been identified in Gradio by Gradio-App, specifically affecting versions up to 5.29.1. The flaw resides in the CORS Handler's function 'is_valid_origin', where improper handling of the 'localhost_aliases' argument leads to origin validation errors. This weakness allows attackers to potentially exploit the application remotely. The complexity of successfully executing an attack is considered high, and despite public disclosure, the vendor has not responded to the report.
Affected Version(s)
gradio 5.29.0
gradio 5.29.1
Exploit Proof of Concept (PoC)
PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.
References
CVSS V4
Timeline
- 🟡
Public PoC available
- 👾
Exploit known to exist
Vulnerability published
Vulnerability Reserved