CVE-2024-8021: Open Redirect in gradio-app/gradio

Published Mar 20, 2025
·
Updated

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.

Affected Software

3 affected components
gradio gradio
pip/gradio<=4.37.2
Gradio Project Gradio Python

Event History

Mar 20, 2025
CVE Published
via MITRE·10:11 AM
Data Sourced
via MITRE·10:11 AM
DescriptionSeverityWeakness
Advisory Published
via GitHub·12:32 PM

Frequently Asked Questions

1

What is the severity of CVE-2024-8021?

CVE-2024-8021 is classified as a moderate severity open redirect vulnerability.

2

How do I fix CVE-2024-8021?

To fix CVE-2024-8021, ensure that input validation is implemented to prevent URL encoding of malicious redirects.

3

What applications are affected by CVE-2024-8021?

CVE-2024-8021 affects the latest version of Gradio, specifically the gradio-app/gradio package.

4

Can CVE-2024-8021 lead to phishing attacks?

Yes, CVE-2024-8021 can be exploited to redirect users to malicious websites, facilitating phishing attacks.

5

How can I identify CVE-2024-8021 in my application?

You can identify CVE-2024-8021 by reviewing the redirect mechanisms in your application for unvalidated user input.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203