CVE-2023-51664 json
tj-actions/changed-files command injection in output filenames
published 2023-12-27 2 y ago modified 2026-09-10 1 mo ago also EUVD-2024-0385 , GHSA-mcph-m25j-8j63
- cvss
- 7.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.4%
- EPSS 3.4% chance of exploitation in 30 days, percentile 88%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- github-actions tj-actions/changed-files 41
- tj-actions changed-files 41.0.0
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
3.35% chance of exploitation in the next 30 days, higher than 88% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/tj-actions/changed-files/security/advisories/GHSA-mcph-m25j-8j63 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N |
| GitHub | 3.1 | 7.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| github-actions | tj-actions/changed-files | <41 |
41 |
Affected products
- tj-actions changed-files
Classification
References
-
github.com
/tj-actions/changed-files/commit/0102c07446a3cad972f4afcbd0ee4dbc4b6d2d1b
web, patch
-
github.com
/tj-actions/changed-files/commit/716b1e13042866565e00e85fd4ec490e186c4a2f
web, patch
-
github.com
/tj-actions/changed-files/commit/ff2f6e6b91913a7be42be1b5917330fe442f2ede
web, patch
-
github.com
/tj-actions/changed-files/security/advisories/GHSA-mcph-m25j-8j63
web, exploit, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2023-51664
advisory
-
github.com
/tj-actions/changed-files
package
Sources
- CVE List CVE-2023-51664
- GitHub Advisory GHSA-mcph-m25j-8j63
- NVD CVE-2023-51664
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.