HighVulnerability
CVE-2024-1540: Gradio command injection in deploy+test-visual.yml workflow
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2024-1540
- Published
- Record updated
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 2.0%
Summary
CVE-2024-1540 is a command injection flaw in the deploy+test-visual.yml workflow of the gradio-app/gradio repository. The flaw stems from unsafe handling of GitHub context information in a `run` operation, where expressions inside `${{ }}` are evaluated and substituted before the script executes. An attacker can execute unauthorized commands, potentially modifying the base repository or exfiltrating secrets.
Mitigation
Remediation involves setting untrusted input values to intermediate environment variables to prevent direct influence on script generation.
Related items
- MediumCVE-2026-121936: easyVoice server-side request forgery through openaiBaseUrl in /api/v1/ttsSimilar attack · NVD/CVE Database
- MediumCVE-2026-118628: MLflow get-artifacts server-side request forgery information disclosureSimilar attack · NVD/CVE Database
- HighCVE-2026-118625: MLflow Tracking Server privilege escalation via get_endpointsSimilar attack · NVD/CVE Database
- InfoWhen trust becomes the payload: Inside the threats, etc quarterly reportSimilar attack · Elastic Security Labs
- MediumCritical Langflow flaws enable authentication bypass and RCESimilar attack · CSO Online