CVE-2024-1540
published high CVSS 3.0 · 8.6Command Injection in gradio-app/gradio via deploy+test-visual.yml workflow
Package status and fixes
Description
A command injection vulnerability exists in the deploy+test-visual.yml workflow of the gradio-app/gradio repository, due to improper neutralization of special elements used in a command. This vulnerability allows attackers to execute unauthorized commands, potentially leading to unauthorized modification of the base repository or secrets exfiltration. The issue arises from the unsafe handling of GitHub context information within a `run` operation, where expressions inside `${{ }}` are evaluated and substituted before script execution. Remediation involves setting untrusted input values to intermediate environment variables to prevent direct influence on script generation.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 8.6 / 10
- Severity
- high
- Provider
- @huntr_ai · cna
- Vector string
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| gradio-app | gradio-app/gradio | unspecified to < N/A (affected · custom) | @huntr_ai · cna |
| gradio_app | gradio_app_gradio | 0 and later (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-77 CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection')
References
2Provider assertions
3@huntr_ai · cna
Command Injection in gradio-app/gradio via deploy+test-visual.yml workflow
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 57fb020fd177e29bddd1bd9a3ef392d979f6c50c66e2a7cdc0eaefc689c5e53e
- Ingested
- 23 Sep 2026, 08:18:22 UTC
- Source record
- Official CVE record