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

- Severity: Medium 5.4 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.76%, higher than 56% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-03-20T10:11:13.192Z
- Modified: 2026-07-07T17:57:08.099Z
- Also known as: GHSA-7v2w-h4gh-w5cv, PYSEC-2026-1411
- Weaknesses: CWE-601
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: @huntr_ai

## Description

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.

(As written by CVE List.)

## Affected

- gradio-app gradio-app/gradio: from unspecified up to latest
- gradio (PyPI): up to 4.37.2
- gradio_project gradio: no versions given

## Every score

- @huntr_ai: CVSS:3.0 5.4 Medium `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.0 5.4 Medium `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- PyPA Advisory Database: CVSS:3.0 5.4 Medium `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N`

## References

- <https://huntr.com/bounties/adc23067-ec04-47ef-9265-afd452071888> (exploit, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-8021> (advisory)
- <https://github.com/gradio-app/gradio> (package)
- <https://pypi.org/project/gradio> (package)
- <https://github.com/advisories/GHSA-7v2w-h4gh-w5cv> (advisory)

## Sources

- CVE List: [CVE-2024-8021](https://www.cve.org/CVERecord?id=CVE-2024-8021), CVE Terms of Use, modified 2025-03-20
- GitHub Advisory Database: [GHSA-7v2w-h4gh-w5cv](https://github.com/advisories/GHSA-7v2w-h4gh-w5cv), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2024-8021](https://nvd.nist.gov/vuln/detail/CVE-2024-8021), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1411](https://osv.dev/vulnerability/PYSEC-2026-1411), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2024-8021 · Whole record: https://cve.day/CVE-2024-8021.json · Rebuilt by cve.day 2026-11-25T22:58:52.387Z
