Read the docs
TI-2026-28352 Aliases CVE-2026-39365GHSA-4w7w-66w2-5vf9

Vite has a Path Traversal in Optimized Deps `.map` Handling

Priority HIGH 69CWE-22Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
Present
Impact type
Information disclosure
Confidentiality · integrity · availability
Low · None · None
Fix status
Partial Red Hat: 8 without a fix

Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-22 and the CVSS impact.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00914 60th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Partial vite (vitejs): 8.0.5, 7.3.2, 6.4.2vite-plus (vitejs): 0.1.16+1 more productRed Hat: 8 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
vitejsvite8.0.0 to before 8.0.5; 7.0.0 to before 7.3.2; 6.0.0 to before 6.4.28.0.5, 7.3.2, 6.4.2Patch availableCNA
vitejsvite-plusbefore 0.1.160.1.16Patch availableCNA
—vite (npm)8.0.0 to before 8.0.58.0.5Patch availableGHSA-4w7w-66w2-5vf9
—vite (npm)7.0.0 to before 7.3.27.3.2Patch availableGHSA-4w7w-66w2-5vf9
—vite (npm)before 6.4.26.4.2Patch availableGHSA-4w7w-66w2-5vf9
  • vite Vendorvitejs Affected 8.0.0 to before 8.0.5; 7.0.0 to before 7.3.2; 6.0.0 to before 6.4.2 Fixed in 8.0.5, 7.3.2, 6.4.2 Patch available CNA
  • vite-plus Vendorvitejs Affected before 0.1.16 Fixed in 0.1.16 Patch available CNA
  • vite (npm) Vendor— Affected 8.0.0 to before 8.0.5 Fixed in 8.0.5 Patch available GHSA-4w7w-66w2-5vf9
  • vite (npm) Vendor— Affected 7.0.0 to before 7.3.2 Fixed in 7.3.2 Patch available GHSA-4w7w-66w2-5vf9
  • vite (npm) Vendor— Affected before 6.4.2 Fixed in 6.4.2 Patch available GHSA-4w7w-66w2-5vf9

CPE configurations NVD · 2

CPEVersionsRoleVendor
cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:*6.0.0 – 6.4.1; 7.0.0 – 7.3.1; 8.0.0 – 8.0.4Vulnerablevitejs
cpe:2.3:a:voidzero:vite\+:*:*:*:*:*:node.js:*:*up to 0.1.15VulnerableVoidzero
  • cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:* Versions 6.0.0 – 6.4.1; 7.0.0 – 7.3.1; 8.0.0 – 8.0.4 Vulnerable ·vitejs
  • cpe:2.3:a:voidzero:vite\+:*:*:*:*:*:node.js:*:* Versions up to 0.1.15 Vulnerable ·Voidzero

Remediation

  • Fix · CNA vite (vitejs) Fixed in 8.0.5, 7.3.2, 6.4.2
  • Fix · CNA vite-plus (vitejs) Fixed in 0.1.16
  • Fix · GHSA-4w7w-66w2-5vf9 vite (npm) Fixed in 8.0.5 Advisory →
  • Fix · GHSA-4w7w-66w2-5vf9 vite (npm) Fixed in 7.3.2 Advisory →
  • Fix · GHSA-4w7w-66w2-5vf9 vite (npm) Fixed in 6.4.2 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Advanced Cluster Security 4AffectedNo fix yet: Fix deferred
Red Hat Ansible Automation Platform 2AffectedNo fix yet: Fix deferred
Red Hat Build of KeycloakAffectedNo fix yet: Fix deferred
Red Hat Build of Podman DesktopAffectedNo fix yet: Fix deferred
Red Hat Build of Podman Desktop - Tech PreviewAffectedNo fix yet: Fix deferred
Red Hat JBoss Enterprise Application Platform 8AffectedNo fix yet: Fix deferred
Red Hat JBoss Enterprise Application Platform Expansion PackAffectedNo fix yet: Fix deferred
Red Hat OpenShift Container Platform 4AffectedNo fix yet: Fix deferred

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-39365
  2. 2026-10-03 Alias added: GHSA-4w7w-66w2-5vf9

References

  • TI-2025-22386 Vite has a `server.fs.deny` bypassed for `inline` and `raw` with `?import` query KEVCVSS 3.1HIGH 7.5
  • TI-2026-28350 Vite Affected by Arbitrary File Read via Vite Dev Server WebSocket CVSS 4.0HIGH 8.2
  • TI-2025-21544 Vite bypasses server.fs.deny when using `?raw??` CVSS 3.1HIGH 7.5
  • TI-2023-16938 Vite Server Options (server.fs.deny) can be bypassed using double forward-slash (//) CVSS 3.1HIGH 7.5
  • TI-2026-38634 Vite: `server.fs.deny` bypass on Windows alternate paths CVSS 4.0HIGH 8.2
  • TI-2026-28351 Vite has a `server.fs.deny` bypass with queries CVSS 4.0HIGH 8.2
See all 13 →

Sources