CVSS 3.1
5.9 mediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:NMedium (5.9). EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in @vitest/mocker 4.1.11, 5.0.0-rc.2.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N@vitest/mocker (npm): fixed in 4.1.11, 5.0.0-rc.2vitest (npm): fixed in 4.1.11, 5.0.0-rc.2Explain CVE-2026-84373 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-84373?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-84373?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-84373 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| vitest-dev vitest | >= 2.1.0, < 4.1.11 |
| vitest-dev vitest | >= 5.0.0-beta.1, < 5.0.0-rc.2 |
| @vitest mocker | >= 2.1.0, < 4.1.11 |
| @vitest mocker | >= 5.0.0-beta.1, < 5.0.0-rc.2 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-82fw-gwwq-j7x9 | npm | @vitest/mocker | >=2.1.0 <4.1.11 | 4.1.11 |
| GHSA-82fw-gwwq-j7x9 | npm | vitest | >=2.1.0 <4.1.11 | 4.1.11 |
| GHSA-82fw-gwwq-j7x9 | npm | vitest | >=5.0.0-beta.1 <5.0.0-rc.2 | 5.0.0-rc.2 |
| GHSA-82fw-gwwq-j7x9 | npm | @vitest/mocker | >=5.0.0-beta.1 <5.0.0-rc.2 | 5.0.0-rc.2 |
Red Hat rates this Moderate.
This vulnerability in Vitest allows an unauthenticated remote attacker to read arbitrary local files on an exposed development server. The flaw stems from a path traversal issue within the HMR WebSocket handler, which fails to properly validate redirect targets. Exploitation is limited to development environments where the Vitest server is accessible from untrusted networks.
Restrict network access to development servers running Vitest. Configure firewall rules to limit inbound connections to the Vitest HMR WebSocket port to only trusted internal networks or localhost. This may impact development workflows that rely on remote access to the development server.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat AMQ Broker 7 | amq-broker-bin.zip | Fix deferred | |
| Red Hat AMQ Broker 7 | amq-broker-maven-repository.zip | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-26/gateway-rhel9 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-27/gateway-rhel9 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | automation-gateway | Out of support scope | |
| Red Hat Ansible Automation Platform 2 | automation-platform-ui | Fix deferred | |
| Red Hat Build of Keycloak | keycloak-operator.redhat-00001.zip | Fix deferred | |
| Red Hat Build of Keycloak | rhbk-quarkus-dist.zip | Fix deferred | |
| Red Hat Build of Podman Desktop | rh-podman-desktop.git | Fix deferred | |
| Red Hat Enterprise Linux 10 | rh-podman-desktop | Fix deferred | |
| Red Hat Hardened Images | grafana13.2 | Not affected | |
| Red Hat Hardened Images | jaeger | Not affected | |
| Red Hat Hardened Images | opentelemetry-collector | Not affected | |
| Red Hat Hardened Images | opentelemetry-collector-contrib | Not affected | |
| Red Hat Hardened Images | opentelemetry-collector-k8s | Not affected | |
| Red Hat Hardened Images | prometheus3.13 | Not affected | |
| Red Hat JBoss Enterprise Application Platform 8 | jboss-eap.1-runtime-maven-repository.zip | Fix deferred | |
| Red Hat JBoss Enterprise Application Platform 8 | jboss-eap-runtime-maven-repository.zip | Fix deferred | |
| Red Hat JBoss Enterprise Application Platform Expansion Pack | jboss-eap.1-runtime-maven-repository.zip | Fix deferred | |
| Red Hat JBoss Enterprise Application Platform Expansion Pack | jboss-eap-runtime-maven-repository.zip | Fix deferred | |
| 1 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-84373.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.