CVE-2026-47429 — Vulnerability in vitest — CVE Details
When Vitest UI server is listening, arbitrary file can be read and executed
Summary
Advisory Timeline
- First published June 1, 2026 (133 days ago).
- Last revised September 10, 2026 — 101 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
npm install vitest@3.2.6
npm install vitest@4.1.0
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 1 ecosystem: npm (1).
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/vitest-dev/vitest/security/advisories/GHSA-5xrq-8626-4rwpWEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-47429ADVISORY
- https://github.com/vitest-dev/vitest/pull/10445WEB
- https://github.com/vitest-dev/vitest/pull/9350WEB
- https://github.com/vitest-dev/vitest/commit/20e00ef7808de6d330c5e2fda530f686e08f1c8dWEB
- https://github.com/vitest-dev/vitest/commit/af88b1f5d82844a4761ea9a977156c98e2b14ca8WEB
- https://github.com/vitest-dev/vitestPACKAGE
- https://github.com/vitest-dev/vitest/blob/eb1abf08573032a532015b999ad3501c5e89e3bb/packages/browser/src/node/commands/fs.ts#L10-L11WEB
- https://github.com/vitest-dev/vitest/blob/eb1abf08573032a532015b999ad3501c5e89e3bb/packages/browser/src/node/plugin.ts#L194-L196WEB
- https://github.com/vitest-dev/vitest/blob/eb1abf08573032a532015b999ad3501c5e89e3bb/packages/browser/src/node/rpc.ts#L115-L121WEB
- https://github.com/vitest-dev/vitest/blob/eb1abf08573032a532015b999ad3501c5e89e3bb/packages/ui/node/index.ts#L77WEB
- https://github.com/vitest-dev/vitest/blob/eb1abf08573032a532015b999ad3501c5e89e3bb/packages/vitest/src/api/setup.ts#L103-L105WEB
- https://github.com/vitest-dev/vitest/blob/eb1abf08573032a532015b999ad3501c5e89e3bb/packages/vitest/src/api/setup.ts#L119-L121WEB
- https://github.com/vitest-dev/vitest/releases/tag/v3.2.5WEB
- https://github.com/vitest-dev/vitest/releases/tag/v4.1.0WEB
Frequently Asked Questions
- What is CVE-2026-47429?
- When Vitest UI server is listening, arbitrary file can be read and executed This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2026-47429?
- CVE-2026-47429 affects vitest. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-47429 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
Related CVEs
- CVE-2025-24964CRITICAL
Vitest allows Remote Code Execution when accessing a malicious website while Vitest API server is listening
- CVE-2026-107722CRITICAL
fast-jwt: Incomplete patch of CVE-2026-34950: Non-whitespace key-prefix re-enables RSA→HS256 algorithm confusion
- CVE-2026-108261CRITICAL
TinaCMS admin preview iframe loads an attacker-controlled origin from the URL fragment
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies