There is a potential attack of arbitrary code injection vulnerability in lychee-setup
of the composite action at action.yml.
The GitHub Action variable inputs.lycheeVersion
can be used to execute arbitrary code in the context of the action.
- uses: lycheeverse/lychee@v2
with:
lycheeVersion: $(printenv >> $GITHUB_STEP_SUMMARY && echo "v0.16.1")
The previous example will just print all the environment variables to the summary of the workflow, but an attacker could potentially use this vector to compromise the security of the target repository, even passing unnotice because the action will run normally.
Low
{ "cwe_ids": [ "CWE-94" ], "github_reviewed": true, "severity": "MODERATE", "nvd_published_at": "2025-08-28T15:15:42Z", "github_reviewed_at": "2025-08-28T14:40:08Z" }