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.
References (2)
Core 2
Core References
Exploit, Third Party Advisory
https://huntr.com/bounties/0e39e974-9a66-476f-91f5-3f37abb03d77
Scores
CVSS v3
8.2
EPSS
0.0053
EPSS Percentile
67.1%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
yes
Technical Impact
partial
Details
CWE
CWE-77
Status
published
Products (2)
gradio_project/gradio
< 2024-02-09
pypi/gradio
0 - 4.18.0PyPI
Published
Mar 27, 2024
Tracked Since
Feb 18, 2026