CVE-2026-25931
Last modified
CVE-2026-25931 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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. EPSS estimates a 0.13% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-25931?
How severe is CVE-2026-25931?
How do I fix CVE-2026-25931?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-25926Notepad++ is a free and open-source source code editor. An U…7.3
- CVE-2026-25927OpenEMR is a free and open source electronic health records …7.1
- CVE-2026-25928OpenEMR is a free and open source electronic health records …6.5
- CVE-2026-25929OpenEMR is a free and open source electronic health records …6.5
- CVE-2026-2593The Greenshift – animation and page builder blocks plugin fo…6.4
- CVE-2026-25930OpenEMR is a free and open source electronic health records …6.5
- CVE-2026-25932GLPI is a Free Asset and IT Management Software package. Fro…4.8
- CVE-2026-25933Arduino App Lab is a cross-platform IDE for developing Ardui…6.8
- CVE-2026-25934go-git is a highly extensible git implementation library wri…4.3
- CVE-2026-25935Vikunja is a todo-app to organize your life. Prior to 1.1.0,…5.4
- CVE-2026-25936GLPI is a free Asset and IT management software package. Sta…8.8
- CVE-2026-25937GLPI is a free Asset and IT management software package. Sta…6.5
Are you affected by CVE-2026-25931?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
