Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-53571: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in vitejs vite

0
High
VulnerabilityCVE-2026-53571cvecve-2026-53571cwe-22cwe-200
Published: 06/22/2026 (06/22/2026, 16:10:58 UTC)
Source: CVE Database V5
Vendor/Project: vitejs
Product: vite

Description

Vite is a frontend tooling framework for JavaScript. Prior to 8.0.16, 7.3.5, and 6.4.3, the contents of files that are specified by server.fs.deny can be returned to the browser on Windows. Vite’s dev server denies direct access to sensitive files through server.fs.deny, including entries such as .env, .env.*, and *.{crt,pem}. However, on Windows, the deny logic does not correctly normalize NTFS ADS path forms before access checks are applied. Because of this, requests such as /.env::$DATA?raw are treated as allowed paths, while Windows resolves them to the original file's default data stream. Similar to that, Windows allows accessing a file using a different name with the 8.3 short name compatibility feature. Vite did not reject accessing files via them. This vulnerability is fixed in 8.0.16, 7.3.5, and 6.4.3.

CVSS v4.0

Score 8.2high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Affected software

vitejs/vite
pkg:npm/vitejs/vite
Affected versions
>=6.4.0 <6.4.3>=7.0.0 <7.3.5>=8.0.0 <8.0.16

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/22/2026, 17:54:29 UTC

Technical Analysis

CVE-2026-53571 is a path traversal vulnerability in vitejs vite's development server on Windows platforms. The server uses server.fs.deny to block direct access to sensitive files (e.g., .env, .env.*, *.{crt,pem}). However, the deny logic fails to properly normalize NTFS alternate data stream (ADS) paths before applying access checks. As a result, requests like /.env::$DATA?raw bypass restrictions because Windows resolves these to the original file's default data stream. Similarly, Windows 8.3 short name compatibility allows accessing files via alternate short names, which vite did not block. This leads to unauthorized disclosure of sensitive file contents. The vulnerability is addressed in vite versions 8.0.16, 7.3.5, and 6.4.3.

Potential Impact

An attacker can bypass file access restrictions on Windows systems running vulnerable vite versions to read sensitive files that should be denied by server.fs.deny. This includes environment variable files (.env) and certificate files (*.crt, *.pem). The exposure of such files can lead to leakage of secrets, credentials, or private keys, potentially compromising application security and confidentiality.

Mitigation Recommendations

This vulnerability is fixed in vite versions 8.0.16, 7.3.5, and 6.4.3. Users should upgrade to one of these versions or later to remediate the issue. No additional mitigation steps are indicated by the vendor advisory. Patch status is confirmed by the fixed versions specified.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-06-09T19:11:53.483Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a39735beed863c81e396243

Added to database: 06/22/2026, 17:39:39 UTC

Last enriched: 06/22/2026, 17:54:29 UTC

Last updated: 06/22/2026, 21:43:22 UTC

Views: 6

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses