{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-112950","published":"2026-10-20T16:17:05.807000Z","last_modified":"2026-10-28T14:16:56.487000Z","status":"Awaiting Analysis","cvss":{"version":"3.1","score":5.9,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-22"],"cpes":[],"cpes_truncated":false,"vendors":["vitest-dev"],"products":["vitest-dev/vitest"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-xp26-3454-mjgp","ecosystem":"npm","name":"@vitest/mocker","purl":"pkg:npm/%40vitest/mocker","ranges":[{"introduced":"4.1.11","fixed":"4.1.12"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-xp26-3454-mjgp","ecosystem":"npm","name":"@vitest/mocker","purl":"pkg:npm/%40vitest/mocker","ranges":[{"introduced":"5.0.0-rc.2","fixed":"5.0.3"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":50,"links":{"html_es":"/es/cve/CVE-2026-112950/","html_en":"/en/cve/CVE-2026-112950/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-112950","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-112950"},"untrusted":{"vendor_name":"vitest-dev","product_name":"vitest","desc_en":"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.","affected":[{"untrusted_vendor":"vitest-dev","untrusted_product":"vitest","versions":[]},{"untrusted_vendor":"@vitest","untrusted_product":"mocker","versions":[]}],"references":[{"url":"https://github.com/vitest-dev/vitest/commit/15cc006aa9f8683dc5f7e895d011fa7dc751ce35","tags":[]},{"url":"https://github.com/vitest-dev/vitest/commit/b825313243dc55757e8d7c0f9e7a792135e13473","tags":[]},{"url":"https://github.com/vitest-dev/vitest/releases/tag/v4.1.12","tags":[]},{"url":"https://github.com/vitest-dev/vitest/releases/tag/v5.0.3","tags":[]},{"url":"https://github.com/vitest-dev/vitest/security/advisories/GHSA-xp26-3454-mjgp","tags":[]}]}}