CVE-2025-5320: gradio-app gradio CORS is_valid_origin privilege escalation
A vulnerability classified as problematic has been found in gradio-app gradio up to 5.29.1. This affects the function isvalidorigin of the component CORS Handler. The manipulation of the argument localhostaliases leads to erweiterte Rechte. 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 Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-5320?
CVE-2025-5320 is classified as a problematic vulnerability affecting Gradio up to version 5.29.1.
How do I fix CVE-2025-5320?
To fix CVE-2025-5320, update Gradio to the latest version beyond 5.29.1.
What component is affected by CVE-2025-5320?
CVE-2025-5320 affects the CORS Handler component, specifically the is_valid_origin function.
What type of attack can be initiated due to CVE-2025-5320?
CVE-2025-5320 can lead to origin validation errors that may allow unauthorized access attempts.
Who is impacted by CVE-2025-5320?
Users and applications utilizing Gradio versions up to 5.29.1 are impacted by CVE-2025-5320.