5.9

CVE-2026-112950: Vitest: Windows backslash traversal bypasses the @vitest/mocker redirect allowlist fix

Awaiting analysis
AliasesGHSA-xp26-3454-mjgpCGA-3qxj-2vwj-h95vCGA-fcw3-phhg-3593
Published 20-10-2026Last modified 28-10-2026

Vulnerability summary

CVE-2026-112950 is a medium (CVSS 5.9) vulnerability in vitest-dev vitest. EPSS estimates a 0.54% chance of exploitation in the next 30 days, higher than 47% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources

CIRCL last checked 05-12-2026

Source freshness unavailable

How is this decided?
CVSS score
5.9/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.54%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 20-10-2026
    PublishedVulnerability first disclosed.
  2. 28-10-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.54%

Chance of exploitation in the next 30 days

Percentile

47%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.54% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard10 products
  • gitlab-rails-ce-18.11All versions (No fix recorded) | < 18.11.13-r0
  • gitlab-rails-ce-19.1All versions (No fix recorded) | < 19.1.9-r0
  • gitlab-rails-ce-19.2All versions (No fix recorded)
  • gitlab-rails-ce-19.4All versions (No fix recorded) | < 19.4.3-r6
  • gitlab-rails-ce-19.5All versions (No fix recorded) | < 19.5.1-r12
@vitest2 products
  • mocker≥ 4.1.11, < 4.1.12 | ≥ 5.0.0-rc.2, < 5.0.3
  • mocker≥ 4.1.11, < 4.1.12 | ≥ 5.0.0-rc.2, < 5.0.3
Wolfi2 products
  • renovateAll versions (No fix recorded) | < 44.178.1-r0
  • vitess-24All versions (No fix recorded) | < 24.0.5-r3
Vitest-dev1 product
  • vitest≥ 4.1.11, < 4.1.12 | ≥ 5.0.0-rc.2, < 5.0.3

4 vendors · 15 products

References

8 links