CVE-2026-25931
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.
Scoring
- Severity
- HIGH
- CVSS base score
- 7.8
- CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS probability
- 0.13%
- CWE
- CWE-276, CWE-807, CWE-829
- Published
- 2026-02-09
- Last modified
- 2026-03-12
Affected products
- streetsidesoftware vscode-spell-checker
Weakness type
Related vulnerabilities
- CVE-2026-52766 — YesWiki: Unauthenticated arbitrary page deletion via `{{erasespamedcomments}}` action
- CVE-2026-77393 — Inductive Automation Ignition Incorrect Default Permissions
- CVE-2026-81302 — PALLET CONTROL products contain an incorrect default permission vulnerability, which may allow a...
- CVE-2026-9634 — Redundancy Module Configuration Tool - Multiple Vulnerabilities
- CVE-2026-9633 — Redundancy Module Configuration Tool - Multiple Vulnerabilities
- CVE-2026-81682 — openssl_encrypt before 1.4.9 Insecure File Permissions
- CVE-2026-69665 — SKYSEA Client View and SKYMEC IT Manager contain an issue with incorrect default permissions. If...
- CVE-2026-78553 — Insecure Flask Secret-Key File Permissions Allow Local Administrator Session Forgery in RansomLook