BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2026-39365 in Vitejs Vite and 1 more product

Medium 5.3

Vite is a frontend tooling framework for JavaScript. From 6.0.0 to before 6.4.2, 7.3.2, and 8.0.5, the dev server’s handling of .map requests for optimized dependencies resolves file paths and calls readFile without restricting ../ segments in the URL. As a result, it is possible to bypass the server.fs.strict allow...

Affects 2 products from 2 vendors. Facts below cite their sources.

CVSS 3.15.3
CVSS v46.3
EPSS1.0%
EPSS percentile62th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Vitejs Vite ≥ 6.0.0, ≤ 6.4.1 ≥ 7.0.0, ≤ 7.3.1 ≥ 8.0.0, ≤ 8.0.4
Voidzero Vite+ ≤ 0.1.15

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

Vite is a frontend tooling framework for JavaScript. From 6.0.0 to before 6.4.2, 7.3.2, and 8.0.5, the dev server’s handling of .map requests for optimized dependencies resolves file paths and calls readFile without restricting ../ segments in the URL. As a result, it is possible to bypass the server.fs.strict allow list and retrieve .map files located outside the project root, provided they can be parsed as valid source map JSON. This vulnerability is fixed in 6.4.2, 7.3.2, and 8.0.5.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2026-39365
BreachSpider IDBS-2026-GLOBAL-151666-M
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Published2026-04-07
Last modified2026-07-24
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-22: Path Traversal

Attacker manipulates file path inputs to access files outside the intended directory.

Related attack patterns (CAPEC)

CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic via CWE-22

CAPEC-76 Manipulating Web Input to File System Calls via CWE-22

CAPEC-78 Using Escaped Slashes in Alternate Encoding via CWE-22

CAPEC-79 Using Slashes in Alternate Encoding via CWE-22

CAPEC-126 Path Traversal via CWE-22

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

Vite, a frontend tooling framework for JavaScript, is vulnerable to a path traversal attack in its dev server due to improper handling of .map requests for optimized dependencies. This allows attackers to bypass the server.fs.strict allow list and retrieve .map files located outside the project root.

The vulnerability arises from the dev server's handling of .map requests for optimized dependencies. The server resolves file paths and calls readFile without restricting ../ segments in the URL, enabling attackers to traverse directories and access files outside the intended scope.

Questions

What is CVE-2026-39365?

Vite, a frontend tooling framework for JavaScript, is vulnerable to a path traversal attack in its dev server due to improper handling of .map requests for optimized dependencies. This allows attackers to bypass the server.fs.strict allow list and retrieve .map files located outside the project root.

What is the CVSS score for CVE-2026-39365?

CVE-2026-39365 has CVSS 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N. EPSS: 1.0%.

Is CVE-2026-39365 actively exploited?

No confirmed active exploitation of CVE-2026-39365 as of 2026-07-25.

How do I remediate CVE-2026-39365?

Priority: MEDIUM. PSIRT: [email protected]

What systems are affected by CVE-2026-39365?

CVE-2026-39365 affects Vitejs Vite; Voidzero Vite+.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Vitejs","product":"Vite","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-07-24.