CVE-2026-25931

HIGH
中文标题:
(暂无数据)
英文标题:
vscode-spell-checker has a workspace-trust bypass Code Execution
CVSS分数: 7.8
发布时间: 2026-02-09 22:10:37
漏洞类型: (暂无数据)
状态: PUBLISHED
数据质量分数: 0.40
数据版本: v2
漏洞描述
中文描述:

(暂无数据)

英文描述:

vscode-spell-checker is a basic spell checker that works well with code and documents. Prior to v4.5.4, DocumentSettings._determineIsTrusted treats the configuration value cSpell.trustedWorkspace as the authoritative trust flag. The value defaults to true (package.json) and is read from workspace configuration each time settings are fetched. The code coerces any truthy value to true and forwards it to ConfigLoader.setIsTrusted , which in turn allows JavaScript/TypeScript configuration files ( .cspell.config.js/.mjs/.ts , etc.) to be located and executed. Because no VS Code workspace-trust state is consulted, an untrusted workspace can keep the flag true and place a malicious .cspell.config.js ; opening the workspace causes the extension host to execute attacker-controlled Node.js code with the user’s privileges. This vulnerability is fixed in v4.5.4.

CWE类型:
CWE-276 CWE-829 CWE-807
标签:
(暂无数据)
受影响产品
厂商 产品 版本 版本范围 平台 CPE
streetsidesoftware vscode-spell-checker < 4.5.4 - - cpe:2.3:a:streetsidesoftware:vscode-spell-checker:<_4.5.4:*:*:*:*:*:*:*
解决方案
中文解决方案:
(暂无数据)
英文解决方案:
(暂无数据)
临时解决方案:
(暂无数据)
参考链接
https://github.com/streetsidesoftware/vscode-spell-checker/security/advisories/GHSA-mggq-68mr-58vj x_refsource_CONFIRM
cve.org
访问
https://github.com/streetsidesoftware/vscode-spell-checker/commit/f39af9a3a6f2a939a57171a24161ed735d41c575 x_refsource_MISC
cve.org
访问
https://drive.google.com/file/d/1mT4SOkkHSHU6NFfKwekysydAd3FUAC6K/view?usp=sharing x_refsource_MISC
cve.org
访问
https://github.com/streetsidesoftware/vscode-spell-checker/releases/tag/code-spell-checker-v4.5.4 x_refsource_MISC
cve.org
访问
CVSS评分详情
3.1 (cna)
HIGH
7.8
CVSS向量: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
机密性
HIGH
完整性
HIGH
可用性
HIGH
时间信息
发布时间:
2026-02-09 22:10:37
修改时间:
2026-02-09 22:10:37
创建时间:
2026-02-10 06:00:05
更新时间:
2026-02-11 06:00:09
利用信息
暂无可利用代码信息
数据源详情
数据源 记录ID 版本 提取时间
CVE cve_CVE-2026-25931 2026-02-10 03:20:01 2026-02-09 22:00:05
NVD nvd_CVE-2026-25931 2026-02-10 02:00:05 2026-02-09 22:00:07
版本与语言
当前版本: v2
主要语言: EN
支持语言:
EN
安全公告
暂无安全公告信息
变更历史
v2 NVD
2026-02-10 06:00:07
data_sources: ['cve'] → ['cve', 'nvd']
查看详细变更
  • data_sources: ['cve'] -> ['cve', 'nvd']