CVE-2024-8021
MEDIUM 6.1CVSS 3.1Gradio Vulnerable to Open Redirect
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.
- Published
- 20 Mar 2025
- Last modified
- 7 Jul 2026
- Assigned by
- security@huntr.dev
- NVD status
- Analyzed
- Weakness
- CWE-601
- Also known as
- GHSA-7v2w-h4gh-w5cvPYSEC-2026-1411
- Sources
- NVDJSONOSV GHSA-7v2w-h4gh-w5cvJSONOSV PYSEC-2026-1411JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | security@huntr.dev (Secondary) | CVSS 3.0 | MEDIUM 5.4 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.0 | MEDIUM 5.4 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
| OSV | PyPA | CVSS 3.0 | MEDIUM 5.4 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | gradio_project | gradiocpe:2.3:a:gradio_project:gradio:-:*:*:*:*:python:*:* |
(no version) | |
| OSV | PyPI | gradio | <= 4.37.2 |
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
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 20 Mar 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 20 Mar 2025)