---
id: CVE-2024-8021
aliases:
  - GHSA-7v2w-h4gh-w5cv
  - PYSEC-2026-1411
title: Gradio Vulnerable to Open Redirect
summary: Gradio Vulnerable to Open Redirect
severity: medium
cvss: 5.4
cvssVector: 'CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N'
vendor: gradio
product: gradio
ecosystem: pip
affected:
  - gradio <= 4.37.2
published: '2025-03-20'
updated: '2026-07-07'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-7v2w-h4gh-w5cv'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2024-8021'
  - url: 'https://github.com/gradio-app/gradio'
  - url: 'https://huntr.com/bounties/adc23067-ec04-47ef-9265-afd452071888'
tags:
  - osv
  - pip
  - exploit-available
epss: 0.00744
epssPercentile: 0.52892
ingestedAt: '2026-07-08T18:25:47.225Z'
exploits:
  nuclei:
    - CVE-2024-8021
  checkedAt: '2026-09-27T10:33:32.519Z'
exploitAvailable: true
---

## Overview

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 packages

- `gradio <= 4.37.2`

## Remediation

Refer to the advisory for the patched release.
