CVE-2026-47429: When Vitest UI server is listening, arbitrary file can be read and executed
(updated )
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 →