Skip to main content

Vite EUVDEUVD-2026-38303

| CVE-2026-53571 HIGH
Path Traversal (CWE-22)
2026-06-15 https://github.com/vitejs/vite GHSA-fx2h-pf6j-xcff
8.2
CVSS 4.0 · Vendor: https://github.com/vitejs/vite
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Discover network-exposed Vite dev server
  2. Delivery
    Send GET /.env::$DATA?raw
  3. Exploit
    Bypass server.fs.deny via NTFS ADS path
  4. Execution
    Server reads file from disk
  5. Persist
    Receive .env contents in response
  6. Impact
    Harvest credentials and pivot

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires all of the following: the Vite dev server must be explicitly bound to a non-loopback interface via the CLI flag --host or the server.host config option (default localhost binding is NOT exploitable); the targeted sensitive file must reside inside a directory listed in server.fs.allow; AND the file must live on an NTFS volume OR the dev server must run on Windows with 8.3 short-name generation enabled on the volume (enabled by default on system volumes). No authentication or user interaction is required once the dev server is network-reachable, and the attacker only needs HTTP-layer access. The vulnerability does NOT affect production builds, Linux/macOS deployments where files reside on non-NTFS volumes with 8.3 names disabled, or default dev sessions bound to localhost.

Impact

The vendor CVSS:4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N) scores 8.2 High, reflecting network-reachable, unauthenticated, low-complexity exfiltration of confidential data with an attack requirement (AT:P) for Windows/NTFS deployment. Real-world risk is meaningfully constrained: exploitation requires (1) the dev server explicitly bound to a network interface - not the default localhost - and (2) a Windows host with NTFS or 8.3 short-name generation. Dev servers are not intended for production, which lowers exposed surface, but developers frequently use --host for LAN testing, mobile device preview, and devcontainer/WSL setups, making real exposure non-trivial. Publicly available exploit code (the trivial /.env::$DATA?raw request shown in the GHSA PoC) makes opportunistic scanning straightforward; EPSS and KEV data were not provided, but absence is expected for a recently published, dev-server-only flaw rather than evidence of low risk.

Exploit ScenarioDerived

An attacker on the same network as a Windows-based developer who launched npm run dev -- --host (e.g., on a shared corporate LAN, coffee-shop Wi-Fi, or via an exposed devcontainer) sends a single HTTP GET to http://devhost:5173/.env::$DATA?raw and receives the contents of the project's .env file. The publicly available PoC from the GHSA advisory works against a default npm create vite@latest scaffold, so exploitation requires no authentication and no user interaction, and similar requests retrieve any in-tree *.pem, *.crt, or other deny-listed secrets.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv3 – Jun 22, 2026

Arbitrary file disclosure in Vite's development server on Windows allows remote unauthenticated attackers to read sensitive files (such as .env, *.pem, *.crt) that are nominally protected by the server.fs.deny allowlist. The flaw stems from Windows-specific path-form quirks (NTFS Alternate Data Stream syntax ::$DATA and 8.3 short filename aliases) that bypass deny-list normalization, and publicly available exploit code exists in the GHSA advisory. Only dev servers explicitly exposed to the network via --host/server.host are reachable.

Earlier versions of this analysis (2)
v2 Jun 22, 2026 - 18:33 cvss changed CVSS 8.2

Arbitrary file disclosure in Vite dev server on Windows allows unauthenticated remote attackers to bypass the server.fs.deny allowlist and retrieve sensitive files such as .env, TLS keys, and certificates by appending NTFS Alternate Data Stream (::$DATA) or 8.3 short-name path forms to the URL. Publicly available exploit code exists (a one-line curl against /.env::$DATA?raw works against a default npm create vite project once the dev server is exposed via --host), and a vendor patch is available; no CISA KEV listing at time of analysis.

v1 Jun 15, 2026 - 17:50

Sensitive file disclosure in Vite's development server on Windows allows remote attackers to bypass the server.fs.deny allowlist and retrieve files such as .env, TLS keys, and certificates by abusing NTFS Alternate Data Stream syntax (::$DATA) and 8.3 short filename aliases. Affected versions span Vite 6.x through 8.x and the vite-plus fork, and exploitation is only possible when the dev server is intentionally exposed to the network via --host or server.host. No public exploit identified at time of analysis beyond the vendor-provided PoC in GHSA-fx2h-pf6j-xcff, and the issue is not present in CISA KEV.

RemediationAI

Vendor-released patches are available: upgrade vite to 8.0.16, 7.3.5, or 6.4.3 depending on your major version, and upgrade vite-plus to 0.1.24, per https://github.com/vitejs/vite/security/advisories/GHSA-fx2h-pf6j-xcff. If immediate patching is not possible, remove --host from npm run dev invocations and unset server.host so the dev server binds only to localhost, eliminating remote reachability at the cost of losing LAN/mobile preview access. Additionally, do not store production secrets in .env files inside developer working trees on Windows machines that ever expose the dev server, and on NTFS volumes you may disable 8.3 short-name generation with fsutil 8dot3name set 1 (note: this can break legacy applications that rely on short names). Restricting dev-server access via local firewall rules to trusted source IPs is a useful additional control while you roll out the upgrade.

Affected VersionsENISA

vite < 6.4.3
vite 8.0.0, < 8.0.16
vite 7.0.0, < 7.3.5

Affected Packages

npm vite fix: 6.4.3, 7.3.5, 8.0.16
npm vite-plus fix: 0.1.24

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Vite is a popular Node.js-based frontend build tool and development server (pkg:npm/vite, pkg:npm/vite-plus) that serves source files from the project directory during development. The server.fs.deny option implements a denylist intended to block direct HTTP access to sensitive files like .env, .env.*, and *.{crt,pem} within otherwise-allowed directories. This issue is a classic CWE-22 Path Traversal variant: the deny-list matcher operates on the URL-supplied filename string without first canonicalizing Windows-specific alternate path forms. NTFS supports Alternate Data Streams accessed via the filename::$DATA syntax, which the Win32 file APIs resolve back to the file's default data stream, and NTFS also generates legacy 8.3 short names (enabled by default on system volumes) that alias the same underlying file. Vite's deny check sees /.env::$DATA?raw as a non-matching filename and serves it, while the OS resolves it to .env.

Know when Node.js gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/vitejs/vite) PRIMARY 8.2 HIGH
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
vuln.today AI 5.9 MEDIUM

Network-reachable and unauthenticated, but AC:H reflects the required Windows/NTFS + non-default --host conditions; only confidentiality is impacted (file read).

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (https://github.com/vitejs/vite).

CVSS VectorVendor: https://github.com/vitejs/vite

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
Analysis Updated
Jun 22, 2026 - 18:34 vuln.today
v3 - CVSS changed
Analysis Updated
Jun 22, 2026 - 18:33 vuln.today
v2 - CVSS changed
CVSS changed
Jun 22, 2026 - 18:23 NVD
8.2 (HIGH)

DescriptionCVE.org

Summary

The contents of files that are specified by server.fs.deny can be returned to the browser on Windows.

Impact

Only apps that match the following conditions are affected:

  • explicitly exposes the Vite dev server to the network (using --host or server.host config option)
  • the sensitive file exists in the allowed directories specified by server.fs.allow
  • either of:
  • the sensitive file exists in an NTFS volume
  • the dev server is running on Windows and the sensitive file exists in a volume that 8.3 short name generation is enabled (it is enabled by default on system volumes)

Details

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.

PoC

bash
$ npm create vite@latest
$ cd vite-project/
$ npm install
$ npm run dev

Access via browser at http://localhost:5173/.env::$DATA?raw <img width="388" height="129" alt="deecc1315123883cfd0f9c26a002845a" src="https://github.com/user-attachments/assets/895c6012-4e2e-4a35-babb-69bbf3ee7170" />

Example expected result:

  • /.env::$DATA?raw returns the contents of .env
  • /tls.pem::$DATA?raw returns the contents of tls.pem

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 34 npm packages depend on vite (30 direct, 4 indirect)
  • 11 npm packages depend on vite-plus (9 direct, 2 indirect)

Ecosystem-wide dependent count for version 8.0.0 and other introduced versions.

Executive ViewAI

Why It Matters

Development teams using Vite on Windows face an immediate threat to application secrets and credentials if their development servers are network-accessible. A critical file disclosure vulnerability (CVE-2026-53571) with publicly available exploit code allows attackers to steal environment variables, API keys, and SSL certificates directly from affected systems. Organizations must immediately identify and remediate network-exposed development infrastructure to prevent credential compromise that could spread to production systems.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 68% exploitable
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

61
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +41
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

CVE-2025-68613 HIGH POC
8.8 Dec 19

Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation

CVE-2024-41713 CRITICAL POC
9.1 Oct 21

A vulnerability in the NuPoint Unified Messaging (NPM) component of Mitel MiCollab through 9.8 SP1 FP2 (9.8.1.201) could

CVE-2024-55591 CRITICAL POC
9.8 Jan 14

FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote

CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2014-7205 CRITICAL POC
10.0 Oct 08

Eval injection vulnerability in the internals.batch function in lib/batch.js in the bassmaster plugin before 1.5.2 for t

CVE-2025-59528 CRITICAL POC
10.0 Sep 22

Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete

CVE-2017-14849 HIGH POC
7.5 Sep 28

Node.js 8.5.0 before 8.6.0 allows remote attackers to access unintended files, because a change to ".." handling was inc

CVE-2017-5941 CRITICAL POC
9.8 Feb 09

An issue was discovered in the node-serialize package 0.0.4 for Node.js. Rated critical severity (CVSS 9.8), this vulner

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2014-3744 HIGH POC
7.5 Oct 23

Directory traversal vulnerability in the st module before 0.2.5 for Node.js allows remote attackers to read arbitrary fi

CVE-2014-9566 HIGH POC
7.5 Mar 10

Multiple SQL injection vulnerabilities in the Manage Accounts page in the AccountManagement.asmx service in the Solarwin

CVE-2024-35286 CRITICAL POC
9.8 Oct 21

A vulnerability in NuPoint Messenger (NPM) of Mitel MiCollab through 9.8.0.33 allows an unauthenticated attacker to cond

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy