Path traversal in vitest - CVE-2026-73653
Published: July 9, 2026 / Updated: August 16, 2026
Vulnerability details
The vulnerability allows a remote attacker to read, create, overwrite, or delete arbitrary files accessible to the Vitest process.
The vulnerability exists due to path traversal in Browser Mode provider commands when handling client-supplied file paths through the Browser Mode API. A remote attacker can send crafted command inputs with absolute paths or traversal sequences to read, create, overwrite, or delete arbitrary files accessible to the Vitest process.
This is most relevant when the Browser Mode API is reachable from another machine or origin, or when untrusted test code is relied upon to be contained by the file-access restriction.