CVE-2026-84373
Vitest: Path Traversal / Arbitrary File Read via @vitest/mocker Redirect Mock
Vitest is a testing framework powered by Vite. From 2.1.0 until 4.1.11 and 5.0.0-rc.2, the public mockerPlugin and standalone interceptorPlugin exports in packages/mocker/src/node/interceptorPlugin.ts register the vitest:interceptor:register handler on Vite's unauthenticated HMR WebSocket without validating redirect targets against the file-serving allowlist. The implementation processes event.redirect without enforcing server.fs.allow and server.fs.deny through isFileLoadingAllowed. A remote client that can reach an exposed development server can submit an opaque URL scheme preserving .. segments, causing join(server.config.root, redirectUrl.pathname) to resolve outside the project root. The plugin's load hook then returns readFile(mock.redirect, 'utf-8') as module source, disclosing local files readable by the dev-server process. Vitest browser mode uses a token-authenticated RPC and is not remotely unauthenticated by default, although the same boundary check was missing on that path. This issue is fixed in versions 4.1.11 and 5.0.0-rc.2.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
5.9
Vitest: Path Traversal / Arbitrary File Read via @vitest/mocker Redirect Mock
Vitest is a testing framework powered by Vite. From 2.1.0 until 4.1.11 and 5.0.0-rc.2, the public mockerPlugin and standalone interceptorPlugin exports in packages/mocker/src/node/interceptorPlugin.ts register the vitest:interceptor:register handler on Vite's unauthenticated HMR WebSocket without validating redirect targets against the file-serving allowlist. The implementation processes event.redirect without enforcing server.fs.allow and server.fs.deny through isFileLoadingAllowed. A remote client that can reach an exposed development server can submit an opaque URL scheme preserving .. segments, causing join(server.config.root, redirectUrl.pathname) to resolve outside the project root. The plugin's load hook then returns readFile(mock.redirect, 'utf-8') as module source, disclosing local files readable by the dev-server process. Vitest browser mode uses a token-authenticated RPC and is not remotely unauthenticated by default, although the same boundary check was missing on that path. This issue is fixed in versions 4.1.11 and 5.0.0-rc.2.
- Record
CVE-2026-84373- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-22
- Updated
- 2026-11-02
EUVDEUVD-2026-69705
5.9
Vitest is a testing framework powered by Vite. From 2.1.0 until 4.1.11 and 5.0.0-rc.2, the public mockerPlugin and standalone interceptorPlugin exports in packages/mocker/src/node/interceptorPlugin.ts register the vitest:interceptor:register handler on Vite's unauthenticated HMR WebSocket without validating redirect targets against the file-serving allowlist. The implementation processes event.redirect without enforcing server.fs.allow and server.fs.deny through isFileLoadingAllowed. A remote client that can reach an exposed development server can submit an opaque URL scheme preserving .. segments, causing join(server.config.root, redirectUrl.pathname) to resolve outside the project root. The plugin's load hook then returns readFile(mock.redirect, 'utf-8') as module source, disclosing local files readable by the dev-server process. Vitest browser mode uses a token-authenticated RPC and is not remotely unauthenticated by default, although the same boundary check was missing on that path. This issue is fixed in versions 4.1.11 and 5.0.0-rc.2.
- Record
EUVD-2026-69705- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-82fw-gwwq-j7x9
5.9
Vitest: Path Traversal / Arbitrary File Read via @vitest/mocker Redirect Mock
Summary
@vitest/mocker registers a redirect mock's target path without validating it
against the dev server's file-serving allowlist. An attacker who can reach the
dev server's WebSocket can register a redirect mock pointing outside the project
root; when the mocked module is requested, the plugin's load hook returns
readFile(<attacker path>) as the module source, disclosing local files.
This is exploitable without authentication only through the public
mockerPlugin / standalone interceptorPlugin exports (used by third-party dev
servers), which register the handler on Vite's unauthenticated HMR socket.
Vitest's own browser mode registers mocks over a token-authenticated RPC and
is not remotely reachable by default (see Scope).
Affected code
packages/mocker/src/node/interceptorPlugin.ts.
The load hook is the file-read sink:
if (mock.type === 'redirect') {
return readFile(mock.redirect, 'utf-8')
}
mock.redirect is derived from client input at registration time with no
boundary check:
if (event.type === 'redirect') {
const redirectUrl = new URL(event.redirect)
event.redirect = join(server.config.root, redirectUrl.pathname)
}
registry.register(event)
There is no server.fs.allow / server.fs.deny check and no assertion that the
resolved path stays within the project root.
Registration paths and trust boundaries
- Public
mockerPlugin/interceptorPlugin(unauthenticated). InconfigureServer, the plugin registersserver.ws.on('vitest:interceptor:register', …)on Vite's HMR WebSocket. That socket performs no token, Origin, or same-origin check, so any client that can reach it can register a redirect mock. This is the path the "unauthenticated" impact applies to. - Vitest browser mode (authenticated). Mocks register over the browser RPC
(
registerMock), which sits behind a per-run token (isValidApiRequest, a randomapi.token). The interceptor'sconfigureServersocket is not used for registration here (in v5 it does not run at all, as the plugin is injected per environment). The same missing boundary check exists on the authenticated RPC path, but reaching it requires the token, so it is not a remote-unauthenticated read.
Path handling
new URL(redirect).pathname combined with join(root, pathname) does not
confine reads to the root:
- Special/hierarchical schemes (
file:,http:) are normalized by WHATWG URL, so..segments are collapsed and the result stays under the root. Payloads of the formfile:///../../etc/passwddo not escape. - A non-special (opaque) scheme preserves
..inpathname, sojoin(root, "../../…/etc/passwd")resolves outside the root and reads an arbitrary file.
Even without escaping the root, the missing server.fs check allows reading any
in-root file the dev server would otherwise refuse to serve (for example an
in-root .env or source that is denied by server.fs.deny).
Scope / preconditions
- This is a development-server issue. The dev server binds to
localhostby default and is not reachable from the network unless the developer exposes it (server.host/0.0.0.0, a LAN bind, or a proxy). - A raw (non-browser) client against a reachable server bypasses browser origin and CORS protections entirely and can both register the mock and read the response.
- A browser-based drive-by against a localhost server is substantially mitigated
by Vite defaults: the default CORS origin allowlist is limited to
localhostorigins, andserver.allowedHostsblocks DNS-rebinding, so a cross-origin page cannot read the file contents back.
Impact
Disclosure of local files readable by the dev-server process (source, in-root
.env/secrets, and, via the opaque-scheme payload, files outside the project
root). No integrity or availability impact.
Affected versions
Present since @vitest/mocker was introduced.
- **Affected:
@vitest/mocker>=…
- Record
GHSA-82fw-gwwq-j7x9- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-22
- Updated
- 2026-11-02
NVD
5.9
Vitest is a testing framework powered by Vite. From 2.1.0 until 4.1.11 and 5.0.0-rc.2, the public mockerPlugin and standalone interceptorPlugin exports in packages/mocker/src/node/interceptorPlugin.ts register the vitest:interceptor:register handler on Vite's unauthenticated HMR WebSocket without validating redirect targets against the file-serving allowlist. The implementation processes event.redirect without enforcing server.fs.allow and server.fs.deny through isFileLoadingAllowed. A remote client that can reach an exposed development server can submit an opaque URL scheme preserving .. segments, causing join(server.config.root, redirectUrl.pathname) to resolve outside the project root. The plugin's load hook then returns readFile(mock.redirect, 'utf-8') as module source, disclosing local files readable by the dev-server process. Vitest browser mode uses a token-authenticated RPC and is not remotely unauthenticated by default, although the same boundary check was missing on that path. This issue is fixed in versions 4.1.11 and 5.0.0-rc.2.
- Record
CVE-2026-84373- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-22
- Updated
- 2026-11-02
OSV
5.9
Vitest: Path Traversal / Arbitrary File Read via @vitest/mocker Redirect Mock
Vitest is a testing framework powered by Vite. From 2.1.0 until 4.1.11 and 5.0.0-rc.2, the public mockerPlugin and standalone interceptorPlugin exports in packages/mocker/src/node/interceptorPlugin.ts register the vitest:interceptor:register handler on Vite's unauthenticated HMR WebSocket without validating redirect targets against the file-serving allowlist. The implementation processes event.redirect without enforcing server.fs.allow and server.fs.deny through isFileLoadingAllowed. A remote client that can reach an exposed development server can submit an opaque URL scheme preserving .. segments, causing join(server.config.root, redirectUrl.pathname) to resolve outside the project root. The plugin's load hook then returns readFile(mock.redirect, 'utf-8') as module source, disclosing local files readable by the dev-server process. Vitest browser mode uses a token-authenticated RPC and is not remotely unauthenticated by default, although the same boundary check was missing on that path. This issue is fixed in versions 4.1.11 and 5.0.0-rc.2.
- Record
CVE-2026-84373- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-22
- Updated
- 2026-11-02
OSVGHSA-82fw-gwwq-j7x9
5.9
Vitest: Path Traversal / Arbitrary File Read via @vitest/mocker Redirect Mock
Summary
@vitest/mocker registers a redirect mock's target path without validating it
against the dev server's file-serving allowlist. An attacker who can reach the
dev server's WebSocket can register a redirect mock pointing outside the project
root; when the mocked module is requested, the plugin's load hook returns
readFile(<attacker path>) as the module source, disclosing local files.
This is exploitable without authentication only through the public
mockerPlugin / standalone interceptorPlugin exports (used by third-party dev
servers), which register the handler on Vite's unauthenticated HMR socket.
Vitest's own browser mode registers mocks over a token-authenticated RPC and
is not remotely reachable by default (see Scope).
Affected code
packages/mocker/src/node/interceptorPlugin.ts.
The load hook is the file-read sink:
if (mock.type === 'redirect') {
return readFile(mock.redirect, 'utf-8')
}
mock.redirect is derived from client input at registration time with no
boundary check:
if (event.type === 'redirect') {
const redirectUrl = new URL(event.redirect)
event.redirect = join(server.config.root, redirectUrl.pathname)
}
registry.register(event)
There is no server.fs.allow / server.fs.deny check and no assertion that the
resolved path stays within the project root.
Registration paths and trust boundaries
- Public
mockerPlugin/interceptorPlugin(unauthenticated). InconfigureServer, the plugin registersserver.ws.on('vitest:interceptor:register', …)on Vite's HMR WebSocket. That socket performs no token, Origin, or same-origin check, so any client that can reach it can register a redirect mock. This is the path the "unauthenticated" impact applies to. - Vitest browser mode (authenticated). Mocks register over the browser RPC
(
registerMock), which sits behind a per-run token (isValidApiRequest, a randomapi.token). The interceptor'sconfigureServersocket is not used for registration here (in v5 it does not run at all, as the plugin is injected per environment). The same missing boundary check exists on the authenticated RPC path, but reaching it requires the token, so it is not a remote-unauthenticated read.
Path handling
new URL(redirect).pathname combined with join(root, pathname) does not
confine reads to the root:
- Special/hierarchical schemes (
file:,http:) are normalized by WHATWG URL, so..segments are collapsed and the result stays under the root. Payloads of the formfile:///../../etc/passwddo not escape. - A non-special (opaque) scheme preserves
..inpathname, sojoin(root, "../../…/etc/passwd")resolves outside the root and reads an arbitrary file.
Even without escaping the root, the missing server.fs check allows reading any
in-root file the dev server would otherwise refuse to serve (for example an
in-root .env or source that is denied by server.fs.deny).
Scope / preconditions
- This is a development-server issue. The dev server binds to
localhostby default and is not reachable from the network unless the developer exposes it (server.host/0.0.0.0, a LAN bind, or a proxy). - A raw (non-browser) client against a reachable server bypasses browser origin and CORS protections entirely and can both register the mock and read the response.
- A browser-based drive-by against a localhost server is substantially mitigated
by Vite defaults: the default CORS origin allowlist is limited to
localhostorigins, andserver.allowedHostsblocks DNS-rebinding, so a cross-origin page cannot read the file contents back.
Impact
Disclosure of local files readable by the dev-server process (source, in-root
.env/secrets, and, via the opaque-scheme payload, files outside the project
root). No integrity or availability impact.
Affected versions
Present since @vitest/mocker was introduced.
- **Affected:
@vitest/mocker>=…
- Record
GHSA-82fw-gwwq-j7x9- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-22
- Updated
- 2026-11-02
Show 26 moreShow less
OSVCLSA-2026-1789478968 No score
TuxCare security update for vitest (1 CVE)
TuxCare rebuilt vitest to address 1 CVE. Fixed in 4.0.18-tuxcare.1.
- Record
CLSA-2026-1789478968- Updated
- 2026-11-02
OSVCLSA-2026-1790109523 No score
TuxCare security update for vitest (2 CVEs)
TuxCare rebuilt vitest to address 2 CVEs. Fixed in 3.2.4-tuxcare.2.
- Record
CLSA-2026-1790109523- Updated
- 2026-11-02
OSVCLSA-2026-1792160943 No score
TuxCare security update for @vitest/browser-playwright (1 CVE)
TuxCare rebuilt @vitest/browser-playwright to address 1 CVE. Fixed in 4.0.18-tuxcare.1.
- Record
CLSA-2026-1792160943- Updated
- 2026-11-02
OSVCLSA-2026-1792160957 No score
TuxCare security update for @vitest/spy (1 CVE)
TuxCare rebuilt @vitest/spy to address 1 CVE. Fixed in 4.0.18-tuxcare.1.
- Record
CLSA-2026-1792160957- Updated
- 2026-11-02
OSVCLSA-2026-1792161472 No score
TuxCare security update for @vitest/snapshot (1 CVE)
TuxCare rebuilt @vitest/snapshot to address 1 CVE. Fixed in 4.0.18-tuxcare.1.
- Record
CLSA-2026-1792161472- Updated
- 2026-11-02
OSVCLSA-2026-1792161475 No score
TuxCare security update for @vitest/snapshot (2 CVEs)
TuxCare rebuilt @vitest/snapshot to address 2 CVEs. Fixed in 3.2.4-tuxcare.2.
- Record
CLSA-2026-1792161475- Updated
- 2026-11-02
OSVCLSA-2026-1792161573 No score
TuxCare security update for @vitest/browser (1 CVE)
TuxCare rebuilt @vitest/browser to address 1 CVE. Fixed in 4.0.18-tuxcare.1.
- Record
CLSA-2026-1792161573- Updated
- 2026-11-02
OSVCLSA-2026-1792161577 No score
TuxCare security update for @vitest/browser (2 CVEs)
TuxCare rebuilt @vitest/browser to address 2 CVEs. Fixed in 3.2.4-tuxcare.2.
- Record
CLSA-2026-1792161577- Updated
- 2026-11-02
OSVCLSA-2026-1792161646 No score
TuxCare security update for @vitest/browser-preview (1 CVE)
TuxCare rebuilt @vitest/browser-preview to address 1 CVE. Fixed in 4.0.18-tuxcare.1.
- Record
CLSA-2026-1792161646- Updated
- 2026-11-02
OSVCLSA-2026-1792161650 No score
TuxCare security update for @vitest/coverage-istanbul (2 CVEs)
TuxCare rebuilt @vitest/coverage-istanbul to address 2 CVEs. Fixed in 3.2.4-tuxcare.2.
- Record
CLSA-2026-1792161650- Updated
- 2026-11-02
OSVCLSA-2026-1792161662 No score
TuxCare security update for @vitest/coverage-v8 (2 CVEs)
TuxCare rebuilt @vitest/coverage-v8 to address 2 CVEs. Fixed in 3.2.4-tuxcare.2.
- Record
CLSA-2026-1792161662- Updated
- 2026-11-02
OSVCLSA-2026-1792161718 No score
TuxCare security update for @vitest/expect (1 CVE)
TuxCare rebuilt @vitest/expect to address 1 CVE. Fixed in 4.0.18-tuxcare.1.
- Record
CLSA-2026-1792161718- Updated
- 2026-11-02
OSVCLSA-2026-1792161722 No score
TuxCare security update for @vitest/expect (2 CVEs)
TuxCare rebuilt @vitest/expect to address 2 CVEs. Fixed in 3.2.4-tuxcare.2.
- Record
CLSA-2026-1792161722- Updated
- 2026-11-02
OSVCLSA-2026-1792161765 No score
TuxCare security update for @vitest/mocker (1 CVE)
TuxCare rebuilt @vitest/mocker to address 1 CVE. Fixed in 4.0.18-tuxcare.1.
- Record
CLSA-2026-1792161765- Updated
- 2026-11-02
OSVCLSA-2026-1792161768 No score
TuxCare security update for @vitest/mocker (2 CVEs)
TuxCare rebuilt @vitest/mocker to address 2 CVEs. Fixed in 3.2.4-tuxcare.2.
- Record
CLSA-2026-1792161768- Updated
- 2026-11-02
OSVCLSA-2026-1792161829 No score
TuxCare security update for @vitest/pretty-format (1 CVE)
TuxCare rebuilt @vitest/pretty-format to address 1 CVE. Fixed in 4.0.18-tuxcare.1.
- Record
CLSA-2026-1792161829- Updated
- 2026-11-02
OSVCLSA-2026-1792161832 No score
TuxCare security update for @vitest/pretty-format (2 CVEs)
TuxCare rebuilt @vitest/pretty-format to address 2 CVEs. Fixed in 3.2.4-tuxcare.2.
- Record
CLSA-2026-1792161832- Updated
- 2026-11-02
OSVCLSA-2026-1792161878 No score
TuxCare security update for @vitest/spy (2 CVEs)
TuxCare rebuilt @vitest/spy to address 2 CVEs. Fixed in 3.2.4-tuxcare.2.
- Record
CLSA-2026-1792161878- Updated
- 2026-11-02
OSVCLSA-2026-1792161943 No score
TuxCare security update for @vitest/ui (2 CVEs)
TuxCare rebuilt @vitest/ui to address 2 CVEs. Fixed in 3.2.4-tuxcare.2.
- Record
CLSA-2026-1792161943- Updated
- 2026-11-02
OSVCLSA-2026-1792161973 No score
TuxCare security update for @vitest/utils (1 CVE)
TuxCare rebuilt @vitest/utils to address 1 CVE. Fixed in 4.0.18-tuxcare.1.
- Record
CLSA-2026-1792161973- Updated
- 2026-11-02
OSVCLSA-2026-1792161977 No score
TuxCare security update for @vitest/utils (2 CVEs)
TuxCare rebuilt @vitest/utils to address 2 CVEs. Fixed in 3.2.4-tuxcare.2.
- Record
CLSA-2026-1792161977- Updated
- 2026-11-02
OSVCLSA-2026-1792162011 No score
TuxCare security update for @vitest/web-worker (2 CVEs)
TuxCare rebuilt @vitest/web-worker to address 2 CVEs. Fixed in 3.2.4-tuxcare.2.
- Record
CLSA-2026-1792162011- Updated
- 2026-11-02
OSVCLSA-2026-1792162033 No score
TuxCare security update for @vitest/runner (1 CVE)
TuxCare rebuilt @vitest/runner to address 1 CVE. Fixed in 4.0.18-tuxcare.1.
- Record
CLSA-2026-1792162033- Updated
- 2026-11-02
OSVCLSA-2026-1792162037 No score
TuxCare security update for @vitest/runner (2 CVEs)
TuxCare rebuilt @vitest/runner to address 2 CVEs. Fixed in 3.2.4-tuxcare.2.
- Record
CLSA-2026-1792162037- Updated
- 2026-11-02
OSVCLSA-2026-1792162060 No score
TuxCare security update for @vitest/ws-client (2 CVEs)
TuxCare rebuilt @vitest/ws-client to address 2 CVEs. Fixed in 3.2.4-tuxcare.2.
- Record
CLSA-2026-1792162060- Updated
- 2026-11-02
OSVCLSA-2026-1792450983 No score
TuxCare security update for vitest (3 CVEs)
TuxCare rebuilt vitest to address 3 CVEs. Fixed in 2.1.9-tuxcare.1.
- Record
CLSA-2026-1792450983- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
@vitest/mockernpm |
2.1.0 up to 4.1.11 | 4.1.11 |
vitestnpm |
2.1.0 up to 4.1.11 | 4.1.11 |
vitestnpm |
5.0.0-beta.1 up to 5.0.0-rc.2 | 5.0.0-rc.2 |
@vitest/mockernpm |
5.0.0-beta.1 up to 5.0.0-rc.2 | 5.0.0-rc.2 |
vitestTuxCare:npm |
4.0.18-tuxcare.0 up to 4.0.18-tuxcare.1, plus listed versions 4.0.18 |
4.0.18-tuxcare.1 |
vitestTuxCare:npm From an advisory covering 2 CVEs |
3.2.4-tuxcare.0 up to 3.2.4-tuxcare.2, plus listed versions 3.2.43.2.4-tuxcare.1 |
3.2.4-tuxcare.2 |
@vitest/browser-playwrightTuxCare:npm |
4.0.18-tuxcare.0 up to 4.0.18-tuxcare.1, plus listed versions 4.0.18 |
4.0.18-tuxcare.1 |
@vitest/spyTuxCare:npm |
4.0.18-tuxcare.0 up to 4.0.18-tuxcare.1, plus listed versions 4.0.18 |
4.0.18-tuxcare.1 |
@vitest/snapshotTuxCare:npm |
4.0.18-tuxcare.0 up to 4.0.18-tuxcare.1, plus listed versions 4.0.18 |
4.0.18-tuxcare.1 |
@vitest/snapshotTuxCare:npm From an advisory covering 2 CVEs |
3.2.4-tuxcare.0 up to 3.2.4-tuxcare.2, plus listed versions 3.2.43.2.4-tuxcare.1 |
3.2.4-tuxcare.2 |
Show 20 moreShow less
| Package | Affected | Fixed |
|---|---|---|
@vitest/browserTuxCare:npm |
4.0.18-tuxcare.0 up to 4.0.18-tuxcare.1, plus listed versions 4.0.18 |
4.0.18-tuxcare.1 |
@vitest/browserTuxCare:npm From an advisory covering 2 CVEs |
3.2.4-tuxcare.0 up to 3.2.4-tuxcare.2, plus listed versions 3.2.43.2.4-tuxcare.1 |
3.2.4-tuxcare.2 |
@vitest/browser-previewTuxCare:npm |
4.0.18-tuxcare.0 up to 4.0.18-tuxcare.1, plus listed versions 4.0.18 |
4.0.18-tuxcare.1 |
@vitest/coverage-istanbulTuxCare:npm From an advisory covering 2 CVEs |
3.2.4-tuxcare.0 up to 3.2.4-tuxcare.2, plus listed versions 3.2.43.2.4-tuxcare.1 |
3.2.4-tuxcare.2 |
@vitest/coverage-v8TuxCare:npm From an advisory covering 2 CVEs |
3.2.4-tuxcare.0 up to 3.2.4-tuxcare.2, plus listed versions 3.2.43.2.4-tuxcare.1 |
3.2.4-tuxcare.2 |
@vitest/expectTuxCare:npm |
4.0.18-tuxcare.0 up to 4.0.18-tuxcare.1, plus listed versions 4.0.18 |
4.0.18-tuxcare.1 |
@vitest/expectTuxCare:npm From an advisory covering 2 CVEs |
3.2.4-tuxcare.0 up to 3.2.4-tuxcare.2, plus listed versions 3.2.43.2.4-tuxcare.1 |
3.2.4-tuxcare.2 |
@vitest/mockerTuxCare:npm |
4.0.18-tuxcare.0 up to 4.0.18-tuxcare.1, plus listed versions 4.0.18 |
4.0.18-tuxcare.1 |
@vitest/mockerTuxCare:npm From an advisory covering 2 CVEs |
3.2.4-tuxcare.0 up to 3.2.4-tuxcare.2, plus listed versions 3.2.43.2.4-tuxcare.1 |
3.2.4-tuxcare.2 |
@vitest/pretty-formatTuxCare:npm |
4.0.18-tuxcare.0 up to 4.0.18-tuxcare.1, plus listed versions 4.0.18 |
4.0.18-tuxcare.1 |
@vitest/pretty-formatTuxCare:npm From an advisory covering 2 CVEs |
3.2.4-tuxcare.0 up to 3.2.4-tuxcare.2, plus listed versions 3.2.43.2.4-tuxcare.1 |
3.2.4-tuxcare.2 |
@vitest/spyTuxCare:npm From an advisory covering 2 CVEs |
3.2.4-tuxcare.0 up to 3.2.4-tuxcare.2, plus listed versions 3.2.43.2.4-tuxcare.1 |
3.2.4-tuxcare.2 |
@vitest/uiTuxCare:npm From an advisory covering 2 CVEs |
3.2.4-tuxcare.0 up to 3.2.4-tuxcare.2, plus listed versions 3.2.43.2.4-tuxcare.1 |
3.2.4-tuxcare.2 |
@vitest/utilsTuxCare:npm |
4.0.18-tuxcare.0 up to 4.0.18-tuxcare.1, plus listed versions 4.0.18 |
4.0.18-tuxcare.1 |
@vitest/utilsTuxCare:npm From an advisory covering 2 CVEs |
3.2.4-tuxcare.0 up to 3.2.4-tuxcare.2, plus listed versions 3.2.43.2.4-tuxcare.1 |
3.2.4-tuxcare.2 |
@vitest/web-workerTuxCare:npm From an advisory covering 2 CVEs |
3.2.4-tuxcare.0 up to 3.2.4-tuxcare.2, plus listed versions 3.2.43.2.4-tuxcare.1 |
3.2.4-tuxcare.2 |
@vitest/runnerTuxCare:npm |
4.0.18-tuxcare.0 up to 4.0.18-tuxcare.1, plus listed versions 4.0.18 |
4.0.18-tuxcare.1 |
@vitest/runnerTuxCare:npm From an advisory covering 2 CVEs |
3.2.4-tuxcare.0 up to 3.2.4-tuxcare.2, plus listed versions 3.2.43.2.4-tuxcare.1 |
3.2.4-tuxcare.2 |
@vitest/ws-clientTuxCare:npm From an advisory covering 2 CVEs |
3.2.4-tuxcare.0 up to 3.2.4-tuxcare.2, plus listed versions 3.2.43.2.4-tuxcare.1 |
3.2.4-tuxcare.2 |
vitestTuxCare:npm From an advisory covering 3 CVEs |
2.1.9-tuxcare.0 up to 2.1.9-tuxcare.1, plus listed versions 2.1.9 |
2.1.9-tuxcare.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2026-84373 is a medium vulnerability (CVSS 5.9) in @vitest Mocker, published September 1, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.53%, the 44th percentile. Fixed in @vitest/mocker 4.1.11.
References
github.com/vitest-dev/vitest/security/advisories/GHSA-82fw-gwwq-j7x9
github.com/vitest-dev/vitest/pull/10972
github.com/vitest-dev/vitest/pull/10974
github.com/vitest-dev/vitest/commit/51edf2b072902aec6d30c90ebaafd8f121c6f9d8
github.com/vitest-dev/vitest/commit/8ff9b9a9efca7c6cfd5243569440de8d7a33aec4
github.com/vitest-dev/vitest/commit/fe5a11d3ceac5ec10d6d7d21a46d4caca132c48f
Show 6 moreShow less
Left out here: the rest of 2 source descriptions. The JSON record has them.