CVE-2026-137197 (High) detected in cross-spawn-7.0.6.tgz
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 66/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- cypress, javascript, node.js
调研方向
先阅读 /ui/package.json 及其锁文件,追踪 Cypress → execa → cross-spawn 依赖关系。更新依赖路径,使其解析为 cross-spawn 7.1.1 或更高版本,然后在锁文件中验证解析出的版本。
由索引模型根据 Issue 内容生成。
描述
CVE-2026-137197 - 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)
- execa-4.1.0.tgz
- cypress-14.5.4.tgz
Found in base branch: master
Vulnerability Details
cross-spawn is a cross-platform solution for Node.js spawn and spawnSync. Prior to 6.0.8 and 7.1.1, applications running on Windows that pass untrusted arguments can be vulnerable when a command sent through cmd.exe is not written as a plain program name or path. Commands containing quotes, command-name delimiters, trailing whitespace, or a child-specific PATHEXT could cause cross-spawn to miss that cmd.exe would resolve a batch file. The arguments were then escaped as though the target were a regular program, allowing command metacharacters in an argument to be interpreted by cmd.exe and execute arbitrary commands. Applications are affected only when they use one of these command forms and pass untrusted input as arguments. This issue is fixed in versions 6.0.8 and 7.1.1.
Publish Date: 2026-11-30
URL: CVE-2026-137197
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
Suggested Fix
Type: Upgrade version
Release Date: 2026-11-30
Fix Resolution: cross-spawn - 7.1.1
Step up your Open Source Security Game with Mend here
- 主要语言
- Go
- 星标
- 2.8k
- 派生
- 88
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
postgres-ai/database-lab-engine 的其他 Issue
-
Mend: dependency security vulnerability
难度 2/5 1-3 小时 新手友好度 88/100
-
Mend: dependency security vulnerability
难度 2/5 1-3 小时 新手友好度 72/100
-
Mend: dependency security vulnerability
难度 2/5 1-3 小时 新手友好度 68/100
-
Mend: dependency security vulnerability
难度 2/5 1-3 小时 新手友好度 65/100
-
Mend: dependency security vulnerability
难度 2/5 1-3 小时 新手友好度 55/100
查看 postgres-ai/database-lab-engine 的全部 Issue
相似的 Issue
-
enhancement good first issue
难度 2/5 1-3 小时 新手友好度 78/100
rohitgollarahalli/mcpx#45 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
-
难度 2/5 1-3 小时 新手友好度 78/100
router-for-me/CLIProxyAPI#8851 ·
维护者通常 7 天内回复
-
Windows 主机
难度 2/5 1-3 小时 新手友好度 88/100
Lee-xeo/Claude-Cage#1550 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 92/100
维护者通常 1 天内回复