CVE-2026-112950
Last modified
CVE-2026-112950 is a medium-severity vulnerability rated 5.9/10 on the CVSS scale. Vitest is a Vite-native testing framework for JavaScript and TypeScript projects. From 4.1.11 until 4.1.12 and 5.0.3, isFileLoadingAllowed and the filesystem read interpret backslashes differently on Windows in packages/mocker/src/node/interceptorPlugin.ts.
Description
Vitest is a Vite-native testing framework for JavaScript and TypeScript projects. From 4.1.11 until 4.1.12 and 5.0.3, isFileLoadingAllowed and the filesystem read interpret backslashes differently on Windows in packages/mocker/src/node/interceptorPlugin.ts. When a client can reach the Vite dev server on Windows and register a redirect mock containing backslash traversal, POSIX joining preserves a Windows backslash traversal that the later filesystem read interprets as a path separator, so the client can read a file outside server.fs.allow that the Vitest process can access. This issue is fixed in versions 4.1.12 and 5.0.3.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| vitest-dev | vitest | >= 4.1.11, < 4.1.12; >= 5.0.0-rc.2, < 5.0.3 |
| @vitest | mocker | >= 4.1.11, < 4.1.12; >= 5.0.0-rc.2, < 5.0.3 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-112950?
How severe is CVE-2026-112950?
How do I fix CVE-2026-112950?
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-112945Vite is a frontend tooling framework for JavaScript. Prior t…2.1
- CVE-2026-112946Vite is a frontend tooling framework for JavaScript. Prior t…6.3
- CVE-2026-112947Vite is a frontend tooling framework for JavaScript. From 8.…6.3
- CVE-2026-112948Vitest is a testing framework powered by Vite. From 5.0.0-be…6.5
- CVE-2026-112949Vitest is a Vite-native testing framework for JavaScript and…4.7
- CVE-2026-11295Inappropriate implementation in WebView in Google Chrome on …8.8
- CVE-2026-112951ApostropheCMS is an open-source Node.js content management s…5.4
- CVE-2026-112952ApostropheCMS is an open-source Node.js content management s…4.3
- CVE-2026-112953ApostropheCMS is an open-source Node.js content management s…6
- CVE-2026-112954ApostropheCMS is an open-source Node.js content management s…5.3
- CVE-2026-112955ApostropheCMS is an open-source Node.js content management s…6.5
- CVE-2026-112956ApostropheCMS is an open-source Node.js content management s…6.5
Are you affected by CVE-2026-112950?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
