gcdRadar
archive/Patch now/AIR-2024-0218
closedclosed 27 Mar 2024Patch now2 Disclosed vulnerabilityAI

CVE-2024-1540: Gradio Workflow Command Injection Vulnerability

gradio

A command injection vulnerability exists in the Gradio GitHub workflow due to improper handling of untrusted inputs. The issue can allow attackers to execute unauthorized commands or exfiltrate secrets.

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
8.6
EPSS
0.02 · top 20% · 2026-11-13
fix status
Fix status unknown
first report
27 Mar 2024
last update
27 Mar 2024

Timeline · 1

  1. 27 Mar 2024CVE-2024-1540: A command injection vulnerability exists in the deploy+test-visual.yml workflow of the gradio-app/gradio repository, due to…

Sources · 1

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 27 Mar 2024 · first reported 27 Mar 2024
origin
NVD
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 10:04Z · 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-1540: Gradio Workflow Command Injection Vulnerability

https://gcdradar.vercel.app/incidents/cve-2024-1540-gradio-workflow-command-injection-vulnerabilit · AIR-2024-0218 · closed 2024-03-27

- Lane: Patch now
- Severity: 2 (Disclosed vulnerability)
- Fix status: Fix status unknown
- First reported: 2024-03-27
- AI role: Attack on AI
- Products: gradio
- CVE ids: CVE-2024-1540
- CVSS: 8.6

## Summary

A command injection vulnerability exists in the Gradio GitHub workflow due to improper handling of untrusted inputs. The issue can allow attackers to execute unauthorized commands or exfiltrate secrets.

## What to do

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

## Latest updates

- 2024-03-27: CVE-2024-1540: A command injection vulnerability exists in the deploy+test-visual.yml workflow of the gradio-app/gradio repository, due to… (https://nvd.nist.gov/vuln/detail/CVE-2024-1540)

## Sources

- 2024-03-27 NVD: CVE-2024-1540: A command injection vulnerability exists in the deploy+test-visual.yml workflow of the gradio-app/gradio repository, due to… https://nvd.nist.gov/vuln/detail/CVE-2024-1540

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

Related

  1. closed6.5
    Gradio Gradio Server-Side Request Forgery Vulnerability

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

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

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

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

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

    AI
  4. closed4.3
    Gradio CVE-2024-1727: Gradio Local Route Access Vulnerability

    Patch now · Disclosed · since 21 May 2024 · updated 21 May 2024 · CVE-2024-1727

    AI
  5. closed5.4
    Gradio CVE-2024-4940: Open redirect vulnerability in gradio

    Patch now · Disclosed · since 22 Jun 2024 · CVE-2024-4940

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

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

    AI