Command injectionin gradio-app gradio.
Proof of concept public (GitHub).
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'.
- Upgrade gradio-app/gradio to 4.29.0 or later.
- Upgrade gradio (PyPI) to 4.29.0 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 26 Apr 2024CVE ID reserved by @huntr_ai.
- 4 Jun 2024Published in the CVE List.
- 15 Oct 2025CVE record last updated.
- 1 Sep 2026First public proof of concept on GitHub.
Attack code anyone can find
Exploit maturity: Proof of concept (GitHub). CISA assessment (SSVC): exploitation none.
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.
Report a link
Other gradio vulnerabilities
Same weakness: OS command injection
Patchminder. CVE-2024-4253: Command injection in gradio-app gradio. https://patchminder.com/cve/cve-2024-4253/ (accessed 5 December 2026).