CVE-2026-137199 (High) detected in cross-spawn-7.0.6.tgz

Open Beginner friendly
#407 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
cypress, javascript, node.js
Domain
devops, security

Research direction

Start with /ui/package.json and inspect the dependency lockfile to trace how Cypress brings in cross-spawn 7.0.6. Check whether the dependency can be upgraded to the fixed 7.1.0 release without breaking the UI dependency tree. Done when the resolved dependency uses a fixed version and the relevant UI checks pass.

Written by the indexing model from the issue text.

Description

Mend: dependency security vulnerability

CVE-2026-137199 - High Severity Vulnerability

Vulnerable Library - cross-spawn-7.0.6.tgz

Cross platform child_process#spawn and child_process#spawnSync

Library home page: https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz

Sample Path to Dependency File: /ui/package.json

Path to vulnerable library: /ui/node_modules/.pnpm/[email protected]/node_modules/cross-spawn/package.json

Dependency Hierarchy:

  • @⁠postgres.ai/ce-4.0.3.tgz (Root Library)
    • cypress-14.5.4.tgz
      • execa-4.1.0.tgz
        • ❌ cross-spawn-7.0.6.tgz (Vulnerable Library)

Found in base branch: master

Vulnerability Details

cross-spawn is a cross-platform solution for Node.js spawn and spawnSync. Prior to 6.0.7 and 7.1.0, Windows applications that pass untrusted arguments to commands routed through cmd.exe can be vulnerable because cross-spawn did not account for the second cmd.exe parse performed when a batch file outside node_modules/.bin forwards its arguments. A crafted argument could break out of its quotes and execute arbitrary commands through npm.cmd, globally installed package shims, or user batch files. Trailing dots or spaces could bypass batch-file detection. A percent-delimited variable in an argument could be expanded when an environment variable with the same name followed by a caret existed, and an exclamation-delimited variable could be expanded when delayed expansion was enabled in the registry. Other platforms and the intentionally unescaped options.shell mode are not affected. This issue is fixed in versions 6.0.7 and 7.1.0.

Publish Date: 2026-11-30

URL: CVE-2026-137199

CVSS 3 Score Details (8.1)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: High
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: High
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2026-11-30

Fix Resolution: cross-spawn - 7.1.0


Step up your Open Source Security Game with Mend here

Dominant language
Go
Stars
2.8k
Forks
88
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from postgres-ai/database-lab-engine

All issues in postgres-ai/database-lab-engine

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.