gcdRadar
archive/Patch now/AIR-2024-0142
closedclosed 22 Jun 2024Patch now2 Disclosed vulnerabilityAI

CVE-2024-4940: Open redirect vulnerability in gradio

gradio

An open redirect vulnerability exists in gradio allowing attackers to redirect users to arbitrary websites via malformed URLs. The issue has been addressed in updated library versions.

disclosed CVENo confirmed exploitation, so this record is tracked as a disclosed vulnerability and not counted as an incident. It moves into the counts if CISA or the vendor confirms exploitation. Why

CVSS
5.4
EPSS
0.01 · top 37% · 2026-11-13
fix status
Fix status unknown
first report
22 Jun 2024
last update
22 Jun 2024

Timeline · 2

  1. 22 Jun 2024CVE-2024-4940: Open redirect in gradio
  2. 22 Jun 2024CVE-2024-4940: An open redirect vulnerability exists in the gradio-app/gradio, affecting the latest version.

Sources · 2

Advisories and databases

  1. 2024-06-22
    CVE-2024-4940: Open redirect in gradio
    GitHub Advisory Database · github.com/advisories/GHSA-g6c9-f4xm-9j4x
  2. 2024-06-22

Titles and links belong to their publishers. The summary above is written by gcdRadar in its own words; data is CC BY-SA 4.0.

Classification

AI role
Attack on AI
categories
Infrastructure vulnerability
severity
2 · Disclosed vulnerability
fix status
Fix status unknown
targets
Framework / tooling
owasp llm top 10
LLM03:2025 Supply Chain
mitre atlas
no technique for these categories
dates
happened 22 Jun 2024 · first reported 22 Jun 2024
origin
GitHub Advisory Database
Vulnerability record from NVD / the GitHub Advisory Database. This product uses the NVD API but is not endorsed or certified by the NVD.
record
confidence 0.95 · created 2026-10-18 07:00Z · updated 2026-10-18 10:04Z

Lane, AI role, categories and severity come from the classifier; the OWASP and ATLAS rows are derived from the categories. How these are assigned

Copy a brief

This record as a short Markdown brief, for a ticket, a chat or a coding agent.

the brief as text
# CVE-2024-4940: Open redirect vulnerability in gradio

https://gcdradar.vercel.app/incidents/cve-2024-4940-open-redirect-vulnerability-in-gradio · AIR-2024-0142 · closed 2024-06-22

- Lane: Patch now
- Severity: 2 (Disclosed vulnerability)
- Fix status: Fix status unknown
- First reported: 2024-06-22
- AI role: Attack on AI
- Products: gradio
- CVE ids: CVE-2024-4940
- CVSS: 5.4

## Summary

An open redirect vulnerability exists in gradio allowing attackers to redirect users to arbitrary websites via malformed URLs. The issue has been addressed in updated library versions.

## What to do

No action recorded; read the sources below and the vendor's advisory.

## Latest updates

- 2024-06-22: CVE-2024-4940: An open redirect vulnerability exists in the gradio-app/gradio, affecting the latest version. (https://nvd.nist.gov/vuln/detail/CVE-2024-4940)
- 2024-06-22: CVE-2024-4940: Open redirect in gradio (https://github.com/advisories/GHSA-g6c9-f4xm-9j4x)

## Sources

- 2024-06-22 GitHub Advisory Database: CVE-2024-4940: Open redirect in gradio https://github.com/advisories/GHSA-g6c9-f4xm-9j4x
- 2024-06-22 NVD: CVE-2024-4940: An open redirect vulnerability exists in the gradio-app/gradio, affecting the latest version. https://nvd.nist.gov/vuln/detail/CVE-2024-4940

Verify against the vendor's advisory before changing production. Data CC BY-SA 4.0, https://gcdradar.vercel.app.

Related

  1. closed7.5
    Gradio CVE-2024-4941: Local file inclusion in Gradio JSON component

    Patch now · Disclosed · since 6 Jun 2024 · CVE-2024-4941

    AI
  2. closed6.5
    Gradio CVE-2024-48052: Gradio Server Side Request Forgery Vulnerability

    Patch now · Disclosed · since 5 Nov 2024 · updated 5 Nov 2024 · CVE-2024-48052

    AI
  3. closed6.5
    Gradio Gradio Server-Side Request Forgery Vulnerability

    Patch now · Disclosed · since 16 Apr 2024 · CVE-2024-1183

    AI
  4. closed7.5
    Gradio CVE-2024-1561: gradio vulnerable to Path Traversal

    Patch now · Disclosed · since 16 Apr 2024 · CVE-2024-1561

    AI
  5. closed8.6
    Gradio CVE-2024-1540: Gradio Workflow Command Injection Vulnerability

    Patch now · Disclosed · since 27 Mar 2024 · CVE-2024-1540

    AI
  6. closed7.3
    Gradio CVE-2024-2206: Gradio Server-Side Request Forgery vulnerability

    Patch now · Disclosed · since 27 Mar 2024 · CVE-2024-2206

    AI