{"id":"CVE-2024-4940","aliases":["GHSA-g6c9-f4xm-9j4x","PYSEC-2026-1414"],"title":"Open redirect in gradio","summary":"Open redirect in gradio","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.36.1"],"published":"2024-06-22","updated":"2026-09-10","sourceUpdated":"2026-09-10T03:50:15.275278919Z","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/GHSA-g6c9-f4xm-9j4x","references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-4940"},{"url":"https://github.com/gradio-app/gradio"},{"url":"https://huntr.com/bounties/35aaea93-6895-4f03-9c1b-cd992665aa60"}],"tags":["osv","pip","exploit-available"],"epss":0.01021,"epssPercentile":0.6143,"exploits":{"nuclei":["CVE-2024-4940"],"checkedAt":"2026-09-21T15:26:45.611Z"},"exploitAvailable":true,"ingestedAt":"2026-07-08T18:25:49.647Z","slug":"CVE-2024-4940","body":"## Overview\n\nAn 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.\n\n## Affected packages\n\n- `gradio <= 4.36.1`\n\n## Remediation\n\nRefer to the advisory for the patched release.","depth":"twilight","depthScore":42,"depthScoreParts":{"impact":29.7,"likelihood":0.2,"exploitation":12,"ransomware":0},"changes":[{"seq":4736,"id":"CVE-2024-4940","ts":1788887203015,"field":"exploit_available","old":"false","new":"true"},{"seq":3619,"id":"CVE-2024-4940","ts":1788886319167,"field":"exploit_available","old":"true","new":"false"},{"seq":2473,"id":"CVE-2024-4940","ts":1788882987723,"field":"exploit_available","old":"false","new":"true"},{"seq":1502,"id":"CVE-2024-4940","ts":1788882401272,"field":"exploit_available","old":"true","new":"false"},{"seq":616,"id":"CVE-2024-4940","ts":1788881837915,"field":"exploit_available","old":"false","new":"true"}]}