CVE-2023-51664
CWE-74Published: December 27, 2023· Updated: Jun 17, 2026
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.
Risk Analysis
The tj-actions/changed-files GitHub action is vulnerable to command injection through malicious filenames, which can lead to arbitrary code execution on the runner. This critical flaw is rated 9.8 on the CVSS scale.
There is no public exploit known for this vulnerability, and it is not in the CISA KEV catalog. It is remotely exploitable.
Users should upgrade the tj-actions/changed-files action to version 41.0.0 or later.
Technical Analysis
CVE-2023-51664 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.
The vulnerability requires no privileges and no user interaction, making it a prime target for automated exploitation campaigns and worm-like propagation.
A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 9.8.
CVSS v3.1 Vector Breakdown
Affected Vendors & Products
Exploit & PoC Resources
Official Patches & Advisories
All References (8)
Quick Facts
Related CVEs (CWE-74)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2023-51664 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts