# @vitest/mocker (npm) vulnerabilities

3 known vulnerabilities (3 medium), with the versions each affects and the releases that fix them.

## At a glance

- Latest release: not known (cve.now hasn't read this package's releases)
- Newest unaffected release: not known without release data
- Registry: https://www.npmjs.com/package/@vitest/mocker

## Advisories (3)

### [CVE-2026-112950](https://cve.now/CVE-2026-112950): Vitest: Windows backslash traversal bypasses the @vitest/mocker redirect allowlist fix

- Severity: Medium 5.9
- Published: Oct 20, 2026
- Affected: from 4.1.11, fixed in 4.1.12; from 5.0.0-rc.2, fixed in 5.0.3.

### [CVE-2026-112949](https://cve.now/CVE-2026-112949): Vitest: Code injection via unauthenticated manual mock registration

- Severity: Medium 4.7
- Published: Oct 20, 2026
- Affected: from 2.1.0-beta.7, fixed in 4.1.12; from 5.0.0-beta.1, fixed in 5.0.3.

### [CVE-2026-84373](https://cve.now/CVE-2026-84373): Vitest: Path Traversal / Arbitrary File Read via @vitest/mocker Redirect Mock

- Severity: Medium 5.9
- Published: Sep 1, 2026
- Affected: from 2.1.0, fixed in 4.1.11; from 5.0.0-beta.1, fixed in 5.0.0-rc.2.

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/packages/npm/@vitest/mocker
Site guide for agents: https://cve.now/llms.txt
Uses NVD data; not endorsed by NVD.
