CISA list

● npm package

@vitest/mocker

@vitest/mocker has three security advisories. The newest release any of them names as the fix is 5.0.3.

As of , @vitest/mocker has three security advisories. The newest release any of them names as the fix is 5.0.3.

Your version, and the version to upgrade to

Find the row your installed version falls in. The second column is the first release after it that none of the advisories lists as affected; a release outside every row is one no advisory lists. That is what the advisories say, not a promise that a release is free of flaws.
If you runUpgrade toAdvisories
From 5.0.0-beta.1 before 5.0.35.0.33 advisories
From 2.1.0-beta.7 before 4.1.124.1.123 advisories

Security advisories, newest first

Security advisories, newest first
AdvisoryWhat it isAffectsFixed inPublished
CVE-2026-112949GHSA-qxg6-89mg-rqv8Vitest: Code injection via unauthenticated manual mock registrationModerate severityFrom 5.0.0-beta.1 before 5.0.3; From 2.1.0-beta.7 before 4.1.124.1.12, 5.0.3
CVE-2026-112950GHSA-xp26-3454-mjgpVitest: Windows backslash traversal bypasses the @vitest/mocker redirect allowlist fixModerate severityFrom 5.0.0-rc.2 before 5.0.3; From 4.1.11 before 4.1.124.1.12, 5.0.3
CVE-2026-84373GHSA-82fw-gwwq-j7x9Vitest: Path Traversal / Arbitrary File Read via @vitest/mocker Redirect MockModerate severityFrom 5.0.0-beta.1 before 5.0.0-rc.2; From 2.1.0 before 4.1.114.1.11, 5.0.0-rc.2

Other npm packages

Sources
  • Package advisories from the GitHub Advisory Database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0