NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · GitHub Actions

CVE-2024-48908: lychee link checking action affected by arbitrary code injection in composite action

mediumCVSS 4.0 6.9GHSA-65rg-554r-9j5x

Summary There is a potential attack of arbitrary code injection vulnerability in lychee-setup of the composite action at action.yml. Details The GitHub Action variable inputs.lycheeVersion can be used to execute arbitrary code in the context of the action.

Published Aug 28, 2025

Affected packages

lycheeverse/lychee-action

Ecosystem
GitHub Actions
Affected
< 2.0.2
Fixed in
2.0.2

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

Summary

There is a potential attack of arbitrary code injection vulnerability in lychee-setup of the composite action at *action.yml*.

Details

The GitHub Action variable inputs.lycheeVersion can be used to execute arbitrary code in the context of the action.

PoC

- 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.

Impact

Low

Credited to mondeja.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology