# CVE-2024-4940: 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): 1.02%, higher than 64% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-06-22T05:23:49.761Z
- Modified: 2026-09-10T03:50:15.275Z
- Also known as: GHSA-g6c9-f4xm-9j4x, PYSEC-2026-1414
- 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 gradio-app/gradio, affecting the latest version. The vulnerability allows an attacker to redirect users to arbitrary websites, which can be exploited for phishing attacks, Cross-site Scripting (XSS), Server-Side Request Forgery (SSRF), amongst others. This issue is due to improper validation of user-supplied input in the handling of URLs. Attackers can exploit this vulnerability by crafting a malicious URL that, when processed by the application, redirects the user to an attacker-controlled web page.

(As written by CVE List.)

## Affected

- gradio-app gradio-app/gradio: from unspecified up to latest
- gradio_project gradio: 4.36.0
- gradio (PyPI): up to 4.36.1

## 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/35aaea93-6895-4f03-9c1b-cd992665aa60> (exploit, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-4940> (advisory)
- <https://github.com/gradio-app/gradio> (package)
- <https://pypi.org/project/gradio> (package)
- <https://github.com/advisories/GHSA-g6c9-f4xm-9j4x> (advisory)

## Sources

- CVE List: [CVE-2024-4940](https://www.cve.org/CVERecord?id=CVE-2024-4940), CVE Terms of Use, modified 2025-10-15
- GitHub Advisory Database: [GHSA-g6c9-f4xm-9j4x](https://github.com/advisories/GHSA-g6c9-f4xm-9j4x), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-4940](https://nvd.nist.gov/vuln/detail/CVE-2024-4940), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1414](https://osv.dev/vulnerability/PYSEC-2026-1414), CC-BY-4.0, modified 2026-07-07

---

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