ADVISORIES

Red Hat VEX

RHVEX-CVE-2026-84373

vitest: Vitest: Arbitrary File Read via Path Traversal in HMR WebSocket

Moderate No fix available CVE-2026-84373

Details

A flaw was found in Vitest, a testing framework. A remote attacker, able to reach an exposed development server, could exploit an issue in the mockerPlugin and interceptorPlugin exports. These plugins register a handler on Vite's unauthenticated HMR WebSocket without properly validating redirect targets. By submitting a specially crafted URL with path traversal segments, an attacker could read arbitrary local files accessible by the development server process, leading to information disclosure.

Affected packages

EcosystemPackageAffected versions
Red Hat:enterprise_linux:10rh-podman-desktop
All versions, no fix (fix deferred)

References