CVE-2024-48908: Lycheeverse/lychee action Lychee Link Checking Action Affected Vulnerability
MODERATECVE-2024-48908 is a MODERATE lychee link checking action affected vulnerability (CWE-94: Improper Control of Generation of Code ('Code Injection')) affecting Lycheeverse/lychee action libraries in the GitHub Actions ecosystem. The issue involves lychee link checking action affected by arbitrary code injection in composite action. Remediation is available by upgrading affected packages to version 2.0.2.
CVE-2024-48908 at a Glance
How to Fix CVE-2024-48908
To remediate this vulnerability, upgrade all affected Lycheeverse/lychee action dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade lycheeverse/lychee-action to 2.0.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for lycheeverse/lychee-action
How to Check if You Are Affected
To determine whether your application is affected by CVE-2024-48908, inspect your project dependencies for Lycheeverse/lychee action:
inspect dependencies for lycheeverse/lychee-action
Analyze the terminal output to locate any version of Lycheeverse/lychee action in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.0.2), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-94: Improper Control of Generation of Code ('Code Injection'), where the product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. In Lycheeverse/lychee action, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-48908 Affected Lycheeverse/lychee action Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
lycheeverse/lychee-action
|
GitHub Actions |
< 2.0.2
|
2.0.2
|
References
Frequently Asked Questions
What is CVE-2024-48908?
Which Lycheeverse/lychee action versions are affected?
What version fixes CVE-2024-48908?
Is lycheeverse/lychee-action affected?
What CWE is associated with CVE-2024-48908?
How can I check GitHub Actions dependencies for CVE-2024-48908?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-65rg-554r-9j5x",
"modified" : "2025-08-28T15:59:37Z",
"published" : "2025-08-28T14:40:08Z",
"aliases" : [ "CVE-2024-48908" ],
"summary" : "lychee link checking action affected by arbitrary code injection in composite action",
"details" : "### Summary\n\nThere is a potential attack of arbitrary code injection vulnerability in `lychee-setup` of the composite action at *action.yml*.\n\n### Details\n\nThe GitHub Action variable `inputs.lycheeVersion` can be used to execute arbitrary code in the context of the action.\n\n### PoC\n\n```yaml\n- uses: lycheeverse/lychee@v2\n with:\n lycheeVersion: $(printenv >> $GITHUB_STEP_SUMMARY && echo \"v0.16.1\")\n```\n\nThe 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.\n\n### Impact\n\nLow",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "GitHub Actions",
"name" : "lycheeverse/lychee-action"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.0.2"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/lycheeverse/lychee-action/security/advisories/GHSA-65rg-554r-9j5x"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-48908"
}, {
"type" : "WEB",
"url" : "https://github.com/lycheeverse/lychee-action/commit/7cd0af4c74a61395d455af97419279d86aafaede"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/lycheeverse/lychee-action"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-94" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-08-28T14:40:08Z",
"nvd_published_at" : "2025-08-28T15:15:42Z"
}
}