Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. vitest
  4. ›
  5. CVE-2026-47429

CVE-2026-47429: When Vitest UI server is listening, arbitrary file can be read and executed

June 1, 2026 (updated June 8, 2026)

Arbitrary file can be read on Windows when Vitest UI server is listening, especially when exposed to the network.

References

  • github.com/advisories/GHSA-5xrq-8626-4rwp
  • github.com/vitest-dev/vitest/blob/eb1abf08573032a532015b999ad3501c5e89e3bb/packages/browser/src/node/commands/fs.ts
  • github.com/vitest-dev/vitest/blob/eb1abf08573032a532015b999ad3501c5e89e3bb/packages/browser/src/node/plugin.ts
  • github.com/vitest-dev/vitest/blob/eb1abf08573032a532015b999ad3501c5e89e3bb/packages/browser/src/node/rpc.ts
  • github.com/vitest-dev/vitest/blob/eb1abf08573032a532015b999ad3501c5e89e3bb/packages/ui/node/index.ts
  • github.com/vitest-dev/vitest/blob/eb1abf08573032a532015b999ad3501c5e89e3bb/packages/vitest/src/api/setup.ts
  • github.com/vitest-dev/vitest/blob/eb1abf08573032a532015b999ad3501c5e89e3bb/packages/vitest/src/api/setup.ts
  • github.com/vitest-dev/vitest/security/advisories/GHSA-5xrq-8626-4rwp
  • nvd.nist.gov/vuln/detail/CVE-2026-47429

Code Behaviors & Features

Detect and mitigate CVE-2026-47429 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.2.6, all versions starting from 4.0.0 before 4.1.0

Fixed versions

  • 3.2.6
  • 4.1.0

Solution

Upgrade to versions 3.2.6, 4.1.0 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-862: Missing Authorization

Source file

npm/vitest/CVE-2026-47429.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:23:25 +0000.