Fix: Remediate CVE-2026-53486 - #325
Conversation
Signed-off-by: Akash Reddy Jammula <akashreddyjammula@gmail.com>
|
Hi @mathieu, the Compile Hugo/test workflow for this PR is awaiting maintainer approval before it can run. This PR addresses CVE-2026-53486 reported in LFX Insights. The dependency checks, Hugo production build, feature-enabled build, and browser smoke test have passed locally. Could you please review when you have a chance? Thank you! |
|
Thanks for approving the workflow. I reviewed the failed run https://github.com/score-spec/docs/actions/runs/34081149161/job/101737341528?pr=325 and found that the failure is caused by a stale Hugo CLI flag in the existing This PR upgrades Hugo Extended from RUN yarn hugo --verbose with: ERROR command error: unknown flag: --verbose The preceding dependency installation, regular Hugo build, formatting check, and Score Compose generation steps seems all passed. Therefore, this is not a failure in the CVE remediation itself; it is a compatibility issue exposed by the Hugo version upgrade. I’ll update the Dockerfile to run yarn hugo without the obsolete flag. |
Signed-off-by: Akash Reddy Jammula <akashreddyjammula@gmail.com>
|
Hi @mathieu, I’ve pushed the follow-up fix removing the unsupported |
What is the motivation?
LFX Insights reported CVE-2026-53486 in this repository through the deprecated decompress@4.2.1 package. https://nvd.nist.gov/vuln/detail/cve-2026-53486
The vulnerability affects archive extraction and may allow a crafted archive to create files, hard links, or symbolic links outside the intended destination directory. In this project, the vulnerable package was reachable through both Hugo wrapper dependencies:
hugo-cli@0.15.0
-> decompress@4.2.1
hugo-extended@0.123.8
-> careful-downloader@3.0.0
-----> decompress@4.2.1
Although this dependency is used while setting up the documentation build rather than by the deployed static website, removing it reduces the risk associated with downloading and extracting build tools.
This PR is part of an effort to address vulnerabilities reported for the project in LFX Insights through focused and reviewable changes.

What does this change do?
This change removes both dependency paths to the vulnerable decompress package.
hugo-cli was removed because it duplicated functionality already provided by hugo-extended . Both packages registered a command named hugo , which meant the project had two packages competing to provide the same executable. In addition, hugo-cli directly introduced the vulnerable decompress dependency.
hugo-extended@0.153.1 provides both hugo and hugo-extended command aliases, so existing commands such as yarn hugo continue to work without the separate hugo-cli package. The Extended Hugo distribution also retains the asset-processing features required by the Docsy-based website.
The resulting relevant dependency path is:
hugo-extended@0.153.1
-> adm-zip@0.5.18
-> tar@7.5.22
Is this related to any issues?
Nope, this PR addresses the CVE for this repo
Have you read the Contributing Guidelines?
What is your testing strategy?
The following validation was completed locally:
yarn check --verify-tree