From a916f12cb9d38ce92546fd874ecdcffafdfce7f7 Mon Sep 17 00:00:00 2001 From: Aleksandr Shevchuk Date: Tue, 1 Dec 2026 13:39:39 +0200 Subject: [PATCH] fix: cross-spawn 7.1.2 under @modelcontextprotocol/client, for Dependabot 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. --- pnpm-lock.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6c57e69f..7c25a9ec 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1521,8 +1521,8 @@ packages: engines: {node: '>=18'} hasBin: true - cross-spawn@7.0.6: - resolution: {integrity: sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==} + cross-spawn@7.1.2: + resolution: {integrity: sha512-8BPK2r+sKWC8sDinRwLwrFMq2lXTBBwzYYEB9LiCznfMurOi4FOvQflq3XOLGG+HPdMSVpe+k/s96+AtDEOgPg==} engines: {node: '>= 8'} debug@4.4.3: @@ -2759,7 +2759,7 @@ snapshots: '@modelcontextprotocol/client@2.4.0': dependencies: '@modelcontextprotocol/core': 2.4.0 - cross-spawn: 7.0.6 + cross-spawn: 7.1.2 eventsource: 3.0.7 eventsource-parser: 3.1.1 jose: 6.2.17 @@ -3364,7 +3364,7 @@ snapshots: transitivePeerDependencies: - '@types/node' - cross-spawn@7.0.6: + cross-spawn@7.1.2: dependencies: path-key: 3.1.1 shebang-command: 2.0.0