Skip to content

chore: bump cross-spawn to 7.1.2 (CVE-2026-137199) - #72

Merged
pedrobpereira merged 1 commit into
mainfrom
security/cross-spawn-qa-64
Dec 2, 2026
Merged

pedrobpereira merged 1 commit into
mainfrom
security/cross-spawn-qa-64

Conversation

@nfcodacy

@nfcodacy nfcodacy commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

cross-spawn < 7.1.0 allows command injection on Windows when it spawns a batch file with untrusted arguments (GHSA-ghv9-86vm-4v8m, CVE-2026-137199). Here it is dev-only, through @changesets/cli. QA-64.

  • overrides pins cross-spawn to ^7.1.0; the lockfile resolves 7.1.2.
  • The lockfile's own version also moves to 1.15.0, which package.json already had.
  • Empty changeset: nothing published changes.

Part of QA-64: codacy/codacy-vscode-extension#221 #72 codacy/codacy-mcp-server#94 codacy/analysis-cli#191 codacy/codacy-spa#3251.

🤖 Generated with Claude Code

cross-spawn < 7.1.0 allows command injection on Windows when spawning batch files. It is a dev-only dependency here (via @changesets/cli). Override cross-spawn to ^7.1.0.

Fixes QA-64

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity · 0 duplication

Metric Results
Complexity 0
Duplication 0

View in Codacy

AI Reviewer: first review requested successfully. AI can make mistakes. Always validate suggestions.

Run reviewer

TIP This summary will be updated as you push new changes.

@codacy-production codacy-production Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull Request Overview

✅ No blocking issues noticed

No blocking findings were identified.

Test suggestions

  • Install dependencies and verify that the resolved cross-spawn version is non-vulnerable.
Prompt proposal for missing tests
Consider implementing these tests if applicable:
1. Install dependencies and verify that the resolved cross-spawn version is non-vulnerable.

TIP How was this review? Give us feedback

@pedrobpereira
pedrobpereira merged commit 6d3eead into main Dec 2, 2026
4 checks passed
@pedrobpereira
pedrobpereira deleted the security/cross-spawn-qa-64 branch December 2, 2026 15:05
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.

2 participants