patchminder
Proof of concept · GitHub CVE-2024-4253

Command injectionin gradio-app gradio.

Published 4 Jun 2024 · Updated 15 Oct 2025 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (GitHub).

Attack code is public
Severity
High 7.5
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.0
Attack likelihood
Moderate
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 1.7% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 4.29.0 or later
In plain words

A command injection vulnerability exists in the gradio-app/gradio repository, specifically within the 'test-functional.yml' workflow. The vulnerability arises due to improper neutralization of special elements used in a command, allowing for unauthorized modification of the base repository or secrets exfiltration. The issue affects versions up to and including '@gradio/video@0.6.12'. The flaw is present in the workflow's handling of GitHub context information, where it echoes the full name of the head repository, the head branch, and the workflow reference without adequate sanitization. This could potentially lead to the exfiltration of sensitive secrets such as 'GITHUB_TOKEN', 'COMMENT_TOKEN', and 'CHROMATIC_PROJECT_TOKEN'.

What to do now
  • Upgrade gradio-app/gradio to 4.29.0 or later.
  • Upgrade gradio (PyPI) to 4.29.0 or later.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
gradio-app/gradio
before 4.29.0
4.29.0
CVE record
gradio (PyPI)
before 4.29.0
4.29.0
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 26 Apr 2024
    CVE ID reserved by @huntr_ai.
  2. 4 Jun 2024
    Published in the CVE List.
  3. 15 Oct 2025
    CVE record last updated.
  4. 1 Sep 2026
    First public proof of concept on GitHub.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (GitHub). CISA assessment (SSVC): exploitation none.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
1 repository
GitHubno warning signs foundpvharmo2/gha-lab-ee08e207a80 stars · created 1 Sep 2026Authorized security-research lab reproducing CVE-2024-4253 (GHSA-r897-wrpm-h4vw): workflow_run command injection in gradio-app/gradio's test-functional.yml

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other gradio vulnerabilities

Same weakness: OS command injection

All CWE-78 vulnerabilities

References
Cite this page

Patchminder. CVE-2024-4253: Command injection in gradio-app gradio. https://patchminder.com/cve/cve-2024-4253/ (accessed 5 December 2026).