Skip to content

[agent] chore(deps): bump minimatch transitive dependencies to safe versions#701

Draft
github-actions[bot] wants to merge 1 commit intomainfrom
fix/minimatch-security-vulnerabilities-e45b85b31b0cfce1
Draft

[agent] chore(deps): bump minimatch transitive dependencies to safe versions#701
github-actions[bot] wants to merge 1 commit intomainfrom
fix/minimatch-security-vulnerabilities-e45b85b31b0cfce1

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

Summary

Addresses 10 Dependabot alerts (alerts #152#169) for vulnerable minimatch transitive dependencies across three CVEs:

Approach

All affected packages are transitive dependencies — no direct package.json dependency declared minimatch at a vulnerable version. Since the maintainers have shipped patched releases within the existing semver ranges, npm overrides were added to the root package.json to force each vulnerable consumer to resolve a safe version.

Why overrides were needed

Package Issue Override applied
mocha@8.4.0 Pins minimatch to exact 3.0.4 (no range); cannot self-update "mocha": {"minimatch": "3.1.5"}
depcheck Required ^7.4.6 but lockfile was stale at 7.4.6 (< 7.4.8) "depcheck": {"minimatch": "7.4.9"}
@typescript-eslint/typescript-estree Required ^9.0.4, locked at 9.0.5 (< 9.0.7) {"minimatch": "9.0.9"}
glob@10 Required ^9.0.4, locked at 9.0.5 (< 9.0.7) "glob@10": {"minimatch": "9.0.9"}
ignore-walk, @npmcli/package-json, cacache Had nested minimatch 10.2.0 (< 10.2.3) via glob@13 {"minimatch": "10.2.5"}

Versions after fix

Location Before After Status
node_modules/minimatch 3.1.2 3.1.4
node_modules/mocha/node_modules/minimatch 3.0.4 3.1.5
node_modules/depcheck/node_modules/minimatch 7.4.6 7.4.9
node_modules/@typescript-eslint/rule-tester/node_modules/minimatch 9.0.5 9.0.9
packages/monorepo-tools/node_modules/minimatch 9.0.5 9.0.9
node_modules/@npmcli/package-json/node_modules/minimatch 10.2.0 10.2.5
node_modules/cacache/node_modules/minimatch 10.2.0 10.2.5
node_modules/ignore-walk/node_modules/minimatch 10.2.0 10.2.5

Dependabot alerts resolved

Generated by Dependabot remediation agent · ● 1.2M ·

Adds npm overrides to force safe versions of minimatch for packages
that were locked to vulnerable transitive versions:

- mocha pinned minimatch to exactly 3.0.4 (vulnerable: < 3.1.4)
  → override to 3.1.5
- depcheck required ^7.4.6 but was locked to 7.4.6 (vulnerable: < 7.4.8)
  → override to 7.4.9
- @typescript-eslint/typescript-estree required ^9.0.4, locked at 9.0.5
  (vulnerable: < 9.0.7) → override to 9.0.9
- glob@10 required ^9.0.4, locked at 9.0.5 → override to 9.0.9
- ignore-walk, @npmcli/package-json, cacache had minimatch 10.2.0
  locked (vulnerable: < 10.2.3) → override to 10.2.5

Resolves Dependabot alerts: #169, #168, #166, #165, #163, #162, #158, #154, #153, #152

GHSA-23c5-xmqv-rm74 (CVE-2026-27904)
GHSA-7r86-cg39-jmmj (CVE-2026-27903)
GHSA-3ppc-4f35-3m26 (CVE-2026-26996)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants