← back
CVE-2023-51664highCWE-74CWE-77

tj-actions/changed-files command injection in output filenames

21Vexday Risk Score

No sign of exploitation. No public exploitation artifact known so far.

ssvc Trackcvss 7.3epss 3.4%
exploitation probability
3.4%top 12% of all CVEs
observed exploitation
nono source reports it
In short

A GitHub action that lists changed files had a flaw where specially crafted filenames could execute arbitrary commands on the runner, potentially exposing secrets or compromising the build process.

Technical detail

CWE-74/CWE-77 command injection vulnerability in tj-actions/changed-files prior to 41.0.0 allows arbitrary code execution via malicious filenames in workflow runs. Attack vector requires an attacker to introduce specially crafted filenames in the repository; impact includes unauthorized command execution and potential secret exposure in the GitHub Actions environment.

Summary generated and translated by AI from the official description.
tj-actions/changed-files is a Github action to retrieve all files and directories. Prior to 41.0.0, the `tj-actions/changed-files` workflow allows for command injection in changed filenames, allowing an attacker to execute arbitrary code and potentially leak secrets. This issue may lead to arbitrary command execution in the GitHub Runner. This vulnerability has been addressed in version 41.0.0. Users are advised to upgrade.
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N