Vulnerability · CVE-2025-24963
vitest.dev vitest Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published Apr 30, 2026 · corrected/updated Apr 30, 2026 · vitest.dev vitest · evidence confidence very high
Vitest is a testing framework powered by Vite. The handler on the browser mode HTTP server that responds any file on the file system. Especially if the server is exposed on the network by , an attacker can send a request to that handler from remote to get the content of arbitrary files.This handler on the browser mode HTTP server responds any file on the file system. This code was added by commit . Users explicitly exposing the browser mode server to the network by may get any files exposed. This issue has been addressed in versions 2.1.9 and 3.0.4. Users are advised to upgrade. There are no k VulnCheck canary evidence.
Grounded briefings
Catalog interpretations for three audiences. Each brief cites ingested metadata and the original advisories below. They are not independent research and they do not invent exploit steps.
Executive
CVE-2025-24963 is a unknown public vulnerability record for vitest.dev vitest. CISA lists it as known exploited. Published remediation guidance: Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable. This summary is a catalog interpretation of the ingested metadata and cites the original advisories below.
System administrator
Identify whether vitest.dev vitest is in your estate, then compare installed versions with the affected ranges. Affected packages or ranges on record: vitest.dev vitest. Published remediation guidance: Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable. Prefer the vendor or distribution advisory linked in Sources before changing production systems. This is a catalog interpretation, not a runbook.
Security analyst
Signals on file: EPSS 2.4%. CISA lists it as known exploited. Sources contributing to this record: epss, vulncheck_kev. Public exploit references, when present, are outbound links only and are not proof of active exploitation. This is a catalog interpretation of stored metadata.
Exploitation and remediation
Exploitation evidence
Confirmed in CISA KEV since Apr 30, 2026. Listed in CISA KEV and VulnCheck KEV.
Patch and remediation
Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.
Safe detection guidance
Compare installed versions with the affected ranges below and verify the advisory from the original publisher. This site stores metadata and outbound links only; it does not ship exploit code or proof-of-concept payloads.
Code
The project this record applies to. Exploit listings stay in References.
No public source repository is identified for this product.
Timeline
Detection, updates, and resolution for this record.
Apr 30, 2026 · VulnCheck KEV
Detected
Vitest is a testing framework powered by Vite. The handler on the browser mode HTTP server that responds any file on the file system. Especially if the server is exposed on the network by , an attacker can send a request to that handler from remote to get the content of arbitrary files.This handler on the browser mode HTTP server responds any file on the file system. This code was added by commit
Apr 30, 2026 · CISA KEV
Known exploited
Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.
Affected
- vendor vitest.dev vitestversion unspecified
Sources
- FIRST EPSSExploitation probabilityCVE-2025-24963
30-day exploitation probability 2.4%
first.org - VulnCheck KEVConfirmed exploitationCVE-2025-24963
Vitest is a testing framework powered by Vite. The handler on the browser mode HTTP server that responds any file on the file system. Especially if the server is exposed on the network by , an attacker can send a request to that handler from remote to get the content of arbitrary
vulncheck.com
References
- VulnCheck exploitation evidence · api.vulncheck.com
- VulnCheck exploitation evidence · api.vulncheck.com
- VulnCheck exploitation evidence · api.vulncheck.com
- VulnCheck exploitation evidence · api.vulncheck.com
- VulnCheck exploitation evidence · api.vulncheck.com
- VulnCheck exploitation evidence · api.vulncheck.com