CVE-2026-112950vitest-dev vitest
Media 5.9 Sin autenticación
Seguir: esta CVE · vitest-dev · vitest-dev vitest Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 50
- CVSS 3.1
- 5.9
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 20 oct 2026
- Actualizada
- 28 oct 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-22
- SSVC (CISA)
- Explotación: prueba de concepto · Automatizable: no · Impacto técnico: parcial
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Qué pasa
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.
Qué hacer
- Aplica la actualización de seguridad del fabricante para vitest.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| npm | @vitest/mocker |
≥ 4.1.11 < 4.1.12 |
4.1.12 |
npm install @vitest/mocker@4.1.12 |
| npm | @vitest/mocker |
≥ 5.0.0-rc.2 < 5.0.3 |
5.0.3 |
npm install @vitest/mocker@5.0.3 |
Según OSV / GitHub Advisories (GHSA-xp26-3454-mjgp). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados
- vitest-dev · vitest
- @vitest · mocker
Según el CNA que publicó la CVE. NVD todavía no cargó los CPE con versiones.
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.