Repository navigation
build(deps): Bump github/super-linter from 5 to 7 - #1443
dependabot[bot] wants to merge 1 commit into
Conversation
Bumps [github/super-linter](https://github.com/github/super-linter) from 5 to 7. - [Release notes](https://github.com/github/super-linter/releases) - [Changelog](https://github.com/github/super-linter/blob/main/CHANGELOG.md) - [Commits](github/super-linter@v5...v7) --- updated-dependencies: - dependency-name: github/super-linter dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
🔍 Dependency Security Audit —
|
| Action | github/super-linter |
| Old → New | v5 → v7 (semver-major) |
| Diff | 1 file, 1 insertion, 1 deletion |
| Runtime/consensus impact | None — CI-only, no node, crypto, or consensus code path touched |
| Diff integrity | ✅ Clean — see below |
🔴 SEC-001 — The bump introduces CVE-2026-25761 (HIGH). v5 was not affected; v7 is.
| Advisory | GHSA-r79c-pqj3-577x / CVE-2026-25761 |
| Upstream rating | HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H (8.8) |
| Affected | >= 6.0.0, < 8.3.1 |
| v5 (current) | ✅ Not affected — below the introduced range |
| v7 (proposed) | ❌ Affected |
| CWE | CWE-78 (OS command injection) |
| CISA KEV | Not listed |
Command injection via crafted filenames. An attacker opens a PR adding a file whose name contains shell command substitution ($(...)); super-linter's file-discovery logic evaluates it, yielding arbitrary command execution on the runner and potential GITHUB_TOKEN disclosure.
This workflow matches the advisory's exploit preconditions closely:
- ✅ Triggers on
pull_request— the exact vector named in the advisory - ✅ Public repository, so fork PRs reach it
- ✅ The
pathsfilter (**.md,**.yml,**.yaml) is trivially satisfied by a payload filename such as$(...).md ⚠️ Nopermissions:block on this workflow — see SEC-004, the advisory's own named amplifier⚠️ USE_FIND_ALGORITHMis unset and defaults tofalse, so super-linter uses its git-based file-discovery path — the very logic the advisory names as the injection point
I have not proven exploitability against this exact configuration end-to-end (VALIDATE_ALL_CODEBASE: true may alter which discovery branch handles filenames), and I will not claim otherwise. The advisory draws no such exemption, the version is squarely in the affected range, and the prudent posture is to treat this workflow as exposed until upstream states otherwise.
Mitigating factors, stated fairly: for pull_request runs from forks GitHub withholds secrets and drops the token to read-only, and first-time contributors require run approval (hence UI:R). Neither is a fix — a returning contributor bypasses the approval gate, the workflow also runs on push to master / v*-dev where fork restrictions do not apply, and arbitrary execution on a CI runner of a consensus-critical node remains materially serious regardless of token scope.
🔴 SEC-002 — github/super-linter is an abandoned fork with no path to the fix
This is the finding that decides the remediation, and it is easy to miss: github/super-linter is not the super-linter project. It is a fork.
github/super-linter (referenced here) |
super-linter/super-linter (upstream) |
|
|---|---|---|
| Role | Fork ("fork": true, parent = upstream) |
Canonical project |
| Stars | 153 | 10,584 |
| Highest tag | v7 |
v8.7.0 |
v7 tag commit |
b807e99 — dated 2024-08-29 |
1215045 (2025-05-13) |
Position vs upstream main |
791 commits behind, 3 ahead | — |
Consequences:
- The fix is unreachable. CVE-2026-25761 is fixed in 8.3.1.
github/super-linterhas nov8tag (API returns 404) and itsv7has been frozen since August 2024. There is no version on these coordinates that resolves the vulnerability — you cannot patch forward without changing the action reference. - Its
v7is not even a release. It resolves to a fork-side merge commit made two weeks after upstream v7.0.0, not to any published upstream release. - Likely invisible to Dependabot security alerts. The advisory is keyed to the package name
super-linter/super-linter. This workflow referencesgithub/super-linter. Action advisories match on theowner/repostring inuses:, so security alerting on this dependency should be treated as non-functional until independently confirmed. Note the irony: Dependabot happily raised this version bump while the security advisory for the very same code most likely does not match. I could not settle this empirically —GET /repos/dashpay/tenderdash/dependabot/alertsreturned HTTP 403 (token lacks the required scope), so a maintainer with admin access should confirm whether any super-linter alert exists.
🟠 SEC-003 — Mutable, unpinned tag on the least trustworthy action in the tree
uses: github/super-linter@v7 resolves a lightweight, mutable tag in a third-party, effectively unmaintained fork. Whoever controls that fork can repoint v7 at arbitrary code, which then executes in CI with the workflow token — the tj-actions/changed-files compromise (March 2025) is precisely this class of attack.
The repo's other actions (actions/checkout@v7, actions/[email protected]) are first-party GitHub actions, so the same convention carries far less risk there. This one does not warrant the same trust. GitHub hardening guidance is to pin third-party actions to a full-length commit SHA (CWE-1357, CWE-829).
🟠 SEC-004 — No permissions: block; workflow token scope is unconstrained by default
.github/workflows/markdown-linter.yml sets no permissions:, so the job inherits the repository default workflow token scope. The advisory explicitly names this as the condition that escalates the injection from execution to credential compromise:
the
GITHUB_TOKENneeds to have unconstrained access to repository resources
The repo already has the right convention elsewhere — govulncheck.yml:12 and check-generated.yml:14 both declare permissions: contents: read. This workflow (and 11 siblings) simply does not follow it. Least privilege here is a one-line change and blunts SEC-001 considerably.
GET /repos/dashpay/tenderdash/actions/permissions/workflow and received HTTP 403 (insufficient token scope); the escalated retry was declined. A maintainer should confirm whether the default is "read and write" — if it is, SEC-001's impact rises materially.
⚙️ CI Failure Analysis — caused by the bump, and a rebase will not fix it
The failing Super linter check (job 102147508629) is deterministic and directly attributable to the version change:
[INFO] Check that the local repository has the full history and that the repository is not shallow.
[INFO] Check that you set the 'fetch-depth: 0' option for the actions/checkout step ...
[INFO] Is shallow repository: true
[FATAL] The GITHUB_SHA reference (314ab8063ad003be02cdd05adfb01d626f306780) doesn't exist in this Git repository
Root cause, verified against upstream source rather than inferred. This is not merely "v6 requires fetch-depth: 0" — v6.0.0 introduced an unconditional git-repository validation step that v5 never executed for this workflow at all:
- In v5, the only code touching git history sat inside
BuildFileList()behindif [ "${VALIDATE_ALL_CODEBASE}" == "false" ]. This workflow sets it totrue, so v5 never entered that branch and never cared that the clone was shallow. v5'svalidation.shcontains no SHA-validation function whatsoever. - In v6.0.0,
lib/linter.shcallsValidateLocalGitRepository/ValidateGitShaReference/ValidateDefaultGitBranchgated only onUSE_FIND_ALGORITHM == false— which is the default, and which this workflow never overrides. It therefore runs regardless ofVALIDATE_ALL_CODEBASE. ValidateGitShaReferenceemits the fetch-depth hint and thenfatals — matching the log byte for byte.- v6.0.0's release notes declare this a breaking change: "exit on errors when running Git" (#4889) and "run linters against the workspace" (#5041).
The Checkout Code step (markdown-linter.yml:18-19) sets no fetch-depth, so it defaults to a depth-1 shallow clone and the action aborts before linting a single file.
@dependabot rebase cannot fix this — verified. The checkout step is byte-identical on base v1.8-dev; Dependabot's diff touches only line 23 and cannot modify the checkout step. A rebase replays the same one-line change onto the same shallow-clone configuration. The workflow file itself must be edited by a human.
Baseline confirms the bump is the cause: every recent markdown-linter.yml run on v1.8-dev / v1.7-dev and other PRs under @v5 concluded success. Run 34251722531 (this PR) is the only failure. The shallow-checkout condition is months old and was harmless under v5; it became fatal only when v7 was substituted. Not flaky, not environmental.
Good news, for once: a sweep of the v6.0.0 and v7.0.0 upgrade guides against every env var this workflow sets (VALIDATE_ALL_CODEBASE, DEFAULT_BRANCH, GITHUB_TOKEN, VALIDATE_MD, VALIDATE_OPENAPI, VALIDATE_YAML, YAML_CONFIG_FILE) found no other breaking change affecting it. Only SQL_CONFIG_FILE/VALIDATE_SQL were removed in v7, and neither is used here. Adding fetch-depth: 0 should be the sole workflow blocker.
Net effect if merged as-is: the markdown/YAML lint gate stops linting entirely while simultaneously importing a HIGH-severity RCE.
✅ Diff Integrity — clean
Due diligence, reported plainly: I verified the fork's v7 divergence from upstream rather than trusting the changelog. The 3 commits present in github/super-linter@v7 but absent from upstream main are:
4e51915 2024-04-23 zkoppert Update README.md
5ef42d2 2024-08-29 zkoppert Merge branch 'main' into upstream
b807e99 2024-08-29 zkoppert Merge pull request #10 from github/upstream
Total content delta: README.md only. No source changes, no build/install hooks, no new network calls, no obfuscated content, no credential access. The fork is stale, not tampered with — the risk here is abandonment, not compromise.
📋 Recommendation
Close this PR in favour of a corrected change. Bumping within github/super-linter cannot reach a fixed version, so the action reference itself must move upstream:
- name: Checkout Code
uses: actions/checkout@v7
with:
fetch-depth: 0 # required by super-linter v6+
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y libpcap-dev
- name: Lint Code Base
# super-linter/super-linter (canonical) v8.7.0 — pinned by SHA.
# >= 8.3.1 required: fixes CVE-2026-25761 (command injection via filename).
uses: super-linter/super-linter@4ce20838b8ab83717e78138c5b3a1407148e0918plus, at workflow level:
permissions:
contents: readOrdered actions:
- Do not merge this PR. It is a net security regression.
- Switch the reference from the abandoned fork
github/super-linterto canonicalsuper-linter/super-linter, at ≥ 8.3.1 (latestv8.7.0), pinned by full commit SHA. - Add
fetch-depth: 0to the checkout step — mandatory for v6+, otherwise the job hard-fails. - Add
permissions: contents: readtomarkdown-linter.yml, matching the convention already used ingovulncheck.ymlandcheck-generated.yml. - Confirm the repository's default workflow token permissions (I was blocked by 403 — see SEC-004).
- Update
.github/dependabot.ymlso thegithub-actionsecosystem tracks the new coordinates; verify Dependabot alerts actually fire forsuper-linter/super-linter. - Expect linter findings on the first genuinely green run — see the adjacent config findings below.
🧹 Adjacent findings (pre-existing, non-blocking, surfaced rather than silenced)
Turned up while establishing what this action actually reads. None are caused by this PR; all deserve a follow-up issue.
- This repo's markdownlint config has never been loaded — since 2022. super-linter's
MARKDOWN_CONFIG_FILEdefault is.markdown-lint.yml(dot-prefixed, hyphenated), unchanged from v5.0.0 through v7.4.0. The workflow sets no override, so the action looks for.github/linters/.markdown-lint.yml— which does not exist. The repo's file is named.github/linters/markdownlint.yml(no leading dot, no hyphen), so it is silently ignored and super-linter falls back to its bundled defaults. Every custom rule in it (MD007indent 4,MD013off,MD024siblings-only,MD025off,MD033,no-hard-tabs,whitespace) has been inert since it was introduced. The markdown CI gate has been decorative for four years. Fix: rename the file to.github/linters/.markdown-lint.yml, or setMARKDOWN_CONFIG_FILE: markdownlint.yml— then brace for the backlog of real findings. - Two diverging markdownlint configs. Root
.markdownlint.ymland.github/linters/markdownlint.ymlcarry different rule sets (MD033: falsevsMD033: {no-inline-html: false}, and the root addsMD001/MD010/MD012/MD028/MD036overrides). Given the point above, only the root file has any effect — and only on developers' editors, not CI. Consolidate to one source of truth, or document the split explicitly. .github/linters/markdownlint.yml:1isdefault: true,— in a YAML block mapping the comma is not a delimiter, so this parses as the string"true,", not the boolean. Inert today only because the file is never read.DEFAULT_BRANCH: master(markdown-linter.yml:26) is stale. The repository's actual default branch isv1.8-dev;masteris a legacy branch. super-linter auto-detects the default branch on GitHub Actions and needs no override. Currently masked byVALIDATE_ALL_CODEBASE: true, but it will silently mis-scope linting the moment anyone turns that off.- Action pinning across the repo is mixed — major tags (
checkout@v7,stale@v11,github-script@v8) alongside full versions ([email protected],[email protected]). Pre-existing and untouched here;@v7introduces no new inconsistency. SEC-003 stands on the trust level of this specific third-party fork, not on repo style.
Sources checked: OSV.dev, GitHub Advisory Database, NVD, CISA KEV, GitHub REST API (tag/commit provenance, fork comparison), upstream release history, and the failing CI job log.
🤖 Co-authored by Claudius the Magnificent AI Agent
|
@dependabot rebase |
|
Sorry, only users with push access can use that command. |
|
Closing in favour of #1450, which switches Rationale (full detail in the security audit above): 🤖 Co-authored by Claudius the Magnificent AI Agent |
|
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |
…by SHA (#1450) * ci: replace abandoned github/super-linter fork with upstream, pinned 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]> * Update permissions for markdown linter workflow Co-authored-by: Copilot Autofix powered by AI <[email protected]> --------- Co-authored-by: Claude Sonnet 5 <[email protected]> Co-authored-by: Copilot Autofix powered by AI <[email protected]>
Bumps github/super-linter from 5 to 7.
Release notes
Sourced from github/super-linter's releases.
Changelog
Sourced from github/super-linter's changelog.
... (truncated)
Commits
b807e99Merge pull request #10 from github/upstream5ef42d2Merge branch 'main' into upstreamb92721fchore(main): release 7.1.0 (#6040)5b13acefeat: add pyink as a Python formatter (#6083)202d47fdeps(npm): bump renovate from 38.27.0 to 38.55.1 in /dependencies (#6082)1b48fe5deps(docker): bump alpine/helm from 3.15.3 to 3.15.4 (#6053)1974944deps(docker): bump tenable/terrascan from 1.18.11 to 1.19.2 (#6054)4d4214cdeps(docker): bump dotnet/sdk (#6055)544c685deps(docker): bump golangci/golangci-lint from v1.60.1 to v1.60.3 (#6078)74111d2deps(npm): bump@react-native/eslint-configin /dependencies (#6070)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)