npm/@vitest/mocker CVE-2026-112950: medium 5.9
Vitest: Windows backslash traversal bypasses the @vitest/mocker redirect allowlist fix
Action: Upgrade @vitest/mocker to 4.1.12 or later.
npm i @vitest/mocker@4.1.12npm i @vitest/mocker@5.0.3Affected
| introduced | fixed | last affected |
|---|---|---|
| 4.1.11 | 4.1.12 | - |
| 5.0.0-rc.2 | 5.0.3 | - |
Fixed versions
| 4.1.12 | 5.0.3 |
Sources
- osv: GHSA-xp26-3454-mjgp
- https://github.com/vitest-dev/vitest/security/advisories/GHSA-xp26-3454-mjgp
- https://nvd.nist.gov/vuln/detail/CVE-2026-112950
- https://github.com/vitest-dev/vitest/commit/15cc006aa9f8683dc5f7e895d011fa7dc751ce35
- https://github.com/vitest-dev/vitest/commit/b825313243dc55757e8d7c0f9e7a792135e13473
- https://github.com/vitest-dev/vitest
- https://github.com/vitest-dev/vitest/releases/tag/v4.1.12
- https://github.com/vitest-dev/vitest/releases/tag/v5.0.3
CVE-2026-112950 · published · modified · JSON