CVE-2024-48908: lychee-action vulnerable to arbitrary code injection in composite action

Published Aug 28, 2025
·
Updated

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

yaml - uses: lycheeverse/lychee@v2 with: lycheeVersion: $(printenv >> $GITHUBSTEPSUMMARY && 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

Other sources

lychee link checking action checks links in Markdown, HTML, and text files using lychee. Prior to version 2.0.2, there is a potential attack of arbitrary code injection vulnerability in lychee-setup of the composite action at action.yml. This issue has been patched in version 2.0.2.

— MITRE

Affected Software

2 affected componentsFixes available
lychee lychee-action<2.0.2
actions/lycheeverse/lychee-action<2.0.2
2.0.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade actions/lycheeverse/lychee-action to a version that resolves this vulnerability.

    Fixed in 2.0.2
  2. Upgrade

    Upgrade lycheeverse/lychee to a version that resolves this vulnerability.

    Fixed in 2.0.2

Event History

Aug 28, 2025
Advisory Published
via GitHub·02:40 PM
Data Sourced
via GitHub·02:40 PM
DescriptionWeaknessAffected Software
CVE Published
via MITRE·02:56 PM
Data Sourced
via MITRE·02:56 PM
DescriptionWeakness
Data Sourced
via NVD·03:15 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2024-48908?

CVE-2024-48908 is classified as a high severity vulnerability due to its potential to allow arbitrary code execution.

2

How do I fix CVE-2024-48908?

To remediate CVE-2024-48908, update the 'lychee-action' to version 2.0.2 or later.

3

What software is affected by CVE-2024-48908?

CVE-2024-48908 affects the 'lychee-action' GitHub Action prior to version 2.0.2.

4

What type of vulnerability is CVE-2024-48908?

CVE-2024-48908 is an arbitrary code injection vulnerability.

5

How can CVE-2024-48908 be exploited?

CVE-2024-48908 can be exploited by manipulating the 'inputs.lycheeVersion' variable to execute arbitrary code in the action's context.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203