Skip to content

fix: cross-spawn 7.1.2 under @modelcontextprotocol/client, for Dependabot alert #6 - #320

Merged
alekswebnet merged 1 commit into
mainfrom
fix/cross-spawn-override
Dec 1, 2026
Merged

alekswebnet merged 1 commit into
mainfrom
fix/cross-spawn-override

Conversation

@alekswebnet

@alekswebnet alekswebnet commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Fixes Dependabot alert #6: cross-spawn 7.0.6, critical, GHSA-ghv9-86vm-4v8m. It allows command injection on Windows when spawning batch files, and is fixed in 7.1.0.

What changes

  • The lockfile takes cross-spawn 7.1.2, the latest, in place of 7.0.6. Nothing else in it changes.
  • No override is needed. Its only user, @modelcontextprotocol/client 2.4.0, asks for ^7.0.5, which takes 7.1.
  • The client is a dev dependency of h5p-mcp and h5p-mcp-app, used by their tests, so no published package carried it.

Tests

  • pnpm install --frozen-lockfile.
  • h5p-mcp: 24 tests, and h5p-mcp-app: 33. Their tests start the servers through the client, which spawns them with cross-spawn.

Release: none.


Summary by cubic

Updates cross-spawn from 7.0.6 to 7.1.2 to fix Dependabot alert #6 (GHSA-ghv9-86vm-4v8m), a critical command injection vulnerability on Windows that was fixed in 7.1.0.

  • Only the lockfile changes; @modelcontextprotocol/client 2.4.0 accepts ^7.0.5, so no override is needed.
  • The client is a dev dependency of both packages and is only used in tests, so no published package carries the vulnerable version.

Written for commit a916f12. Summary will update on new commits.

View guided diff Turn on auto-fix

…abot alert #6

GHSA-ghv9-86vm-4v8m, command injection on Windows when spawning batch files, fixed in 7.1.0.
The client asks for ^7.0.5, so the lockfile alone changes.
@alekswebnet
alekswebnet merged commit d8e1f86 into main Dec 1, 2026
13 checks passed
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.

1 participant