Skip to content

ci: replace abandoned github/super-linter fork with upstream, pinned by SHA - #1450

Merged
lklimek merged 3 commits into
v1.8-devfrom
fix/super-linter-abandoned-fork-cve
Sep 9, 2026
Merged

lklimek merged 3 commits into
v1.8-devfrom
fix/super-linter-abandoned-fork-cve

Conversation

@lklimek

@lklimek lklimek commented Sep 9, 2026

Copy link
Copy Markdown
Collaborator

What

Replaces github/super-linter@v5 (in .github/workflows/markdown-linter.yml)
with the canonical super-linter/super-linter, pinned by commit SHA to v8.7.0.
Also adds fetch-depth: 0 to the checkout step and a workflow-level
permissions: contents: read block.

Why

github/super-linter is an abandoned fork of super-linter/super-linter —
791 commits behind upstream, frozen at tag v7 since 2024-08-29, with no v8
tag ever published.

Dependabot PR #1443 attempted an in-place v5 -> v7 bump on this fork.
Auditing that PR surfaced two problems that block it permanently:

  1. Security regression. v7 on this fork falls inside the affected range
    of CVE-2026-25761 (HIGH, CVSS 8.8 — command injection via a crafted
    filename). The upstream fix (8.3.1) was never backported to the fork, so
    the CVE is unpatchable on github/super-linter's own coordinates —
    there's no version to bump to that resolves it. Advisories are keyed to
    super-linter/super-linter, so Dependabot's security alerting likely never
    matched this workflow in the first place.
  2. Structural CI break. super-linter v6.0.0 added an unconditional
    git-repo validation step; without fetch-depth: 0 on checkout it hard-fails
    before linting anything. Dependabot cannot edit the checkout step, so a
    rebase of build(deps): Bump github/super-linter from 5 to 7 #1443 cannot fix this — the failure is deterministic on that PR.

This PR switches to the real upstream project instead, pinned by SHA per
supply-chain policy, and fixes both root causes directly.

Verification

  • Checked docs/upgrade-guide.md at the v8.7.0 tag: none of the env vars
    this workflow sets (VALIDATE_ALL_CODEBASE, DEFAULT_BRANCH,
    GITHUB_TOKEN, VALIDATE_MD, VALIDATE_OPENAPI, VALIDATE_YAML,
    YAML_CONFIG_FILE) were renamed or removed across v5 -> v6 -> v7 -> v8.
  • 4ce20838b8ab83717e78138c5b3a1407148e0918 verified against
    refs/tags/v8.7.0 on super-linter/super-linter via the GitHub API.

Closes/supersedes #1443 (closing separately with a comment cross-linking
this PR).

🤖 Generated with Claude Code

…by SHA

github/super-linter is an abandoned fork of super-linter/super-linter,
791 commits behind upstream and frozen at tag v7 since 2024-08-29 with
no v8 tag ever published. Its v7 coordinates fall inside the affected
range of CVE-2026-25761 (HIGH, CVSS 8.8: command injection via a
crafted filename), and the upstream fix (8.3.1) was never backported
to the fork, making the vulnerability unpatchable on this dependency's
current coordinates.

Switch to the canonical super-linter/super-linter, pinned by commit SHA
to v8.7.0. Also:
- add fetch-depth: 0 to the checkout step, required since super-linter
  v6.0.0 added an unconditional git-repo validation that fails on a
  shallow clone (this is also what breaks CI on dependabot PR #1443,
  which attempted the in-place v5->v7 bump on this fork)
- add a workflow-level `permissions: contents: read` block, matching
  the other workflows in this repo (govulncheck.yml, check-generated.yml)

Verified against docs/upgrade-guide.md at v8.7.0: none of the env vars
this workflow sets (VALIDATE_ALL_CODEBASE, DEFAULT_BRANCH, GITHUB_TOKEN,
VALIDATE_MD, VALIDATE_OPENAPI, VALIDATE_YAML, YAML_CONFIG_FILE) were
renamed or removed across v5->v6->v7->v8.

Supersedes dependabot PR #1443, which is unfixable by rebase (the CI
failure is structural: dependabot cannot edit the checkout step).

Co-Authored-By: Claude Sonnet 5 <[email protected]>
@coderabbitai

coderabbitai Bot commented Sep 9, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: 2a3e3155-7dad-44bd-a5eb-e5e2e2406cc5

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The new workflow-level permissions likely needs statuses: write for Super-Linter to report status correctly, and it is currently restricted to contents: read only.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Updates the Markdown linting GitHub Actions workflow to use the upstream super-linter/super-linter action (pinned by commit SHA) and adjusts checkout behavior/permissions to support newer Super-Linter requirements and supply-chain pinning.

Changes:

  • Switch from github/super-linter@v5 to upstream super-linter/super-linter pinned to the v8.7.0 commit SHA.
  • Add fetch-depth: 0 to ensure Super-Linter’s git repository validation can succeed.
  • Add workflow-level permissions: contents: read to restrict the default GITHUB_TOKEN scope.
File summaries
File Description
.github/workflows/markdown-linter.yml Pins Super-Linter to upstream v8.7.0 SHA, ensures full git history checkout, and scopes workflow token permissions.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/workflows/markdown-linter.yml Resolved
@thepastaclaw

thepastaclaw commented Sep 9, 2026 •

Copy link
Copy Markdown

🕓 Queued for automated review — 24th in line, estimated start in ~7 h (commit 61c6029)
Estimated review time once started: ~35 min (two-phase automated review; median of recent runs).

  • Request priority review — tick this box and the review moves to the front of the queue.

@lklimek
lklimek enabled auto-merge (squash) September 9, 2026 11:48
@lklimek
lklimek merged commit e7d502d into v1.8-dev Sep 9, 2026
19 checks passed
@lklimek
lklimek deleted the fix/super-linter-abandoned-fork-cve branch September 9, 2026 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants