cve.bz

CVE-2026-39365 Path traversal

6.3 mediumExploit referenceEPSS 0.9%Fix available

Medium (6.3). EPSS 0.9% estimated probability of exploitation activity in the next 30 days. Fixed in vite 6.4.2, 7.3.2, 8.0.5.

On this page
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.

Severity

CVSS 4.0

6.3 medium
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS
0.9% (unchanged from 0.9% a week ago; 1.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 61st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: total, assessed 2026-04-09. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-39365 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-39365?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-39365?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-39365 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
vitejs:vitefrom 6.0.0 through 6.4.1
vitejs:vitefrom 7.0.0 through 7.3.1
vitejs:vitefrom 8.0.0 through 8.0.4
voidzero:vite+through 0.1.15

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-4w7w-66w2-5vf9npmvite>=8.0.0 <8.0.58.0.5
GHSA-4w7w-66w2-5vf9npmvite>=7.0.0 <7.3.27.3.2
GHSA-4w7w-66w2-5vf9npmvite<6.4.26.4.2

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Advanced Cluster Security 4rhacs-eng/release-mainFix deferred
Red Hat Ansible Automation Platform 2automation-controllerFix deferred
Red Hat Ansible Automation Platform 2automation-eda-controllerFix deferred
Red Hat Ansible Automation Platform 2automation-gatewayFix deferred
Red Hat Ansible Automation Platform 2automation-platform-uiFix deferred
Red Hat Ansible Automation Platform 2redhat-user-workloads/gateway-rhel9Fix deferred
Red Hat Ansible Automation Platform 2redhat-user-workloads/mcp-server-rhel9Fix deferred
Red Hat Build of KeycloakviteFix deferred
Red Hat Build of Podman Desktoppodman-desktop-macos-1-0Fix deferred
Red Hat Build of Podman Desktoppodman-desktop-windows-1-0Fix deferred
Red Hat Build of Podman Desktop - Tech Previewredhat-user-workloads/bootc-extFix deferred
Red Hat Build of Podman Desktop - Tech Previewredhat-user-workloads/openshift-local-extFix deferred
Red Hat Build of Podman Desktop - Tech Previewredhat-user-workloads/rhel-extFix deferred
Red Hat JBoss Enterprise Application Platform 8viteFix deferred
Red Hat JBoss Enterprise Application Platform Expansion PackviteFix deferred
Red Hat OpenShift Container Platform 4redhat-user-workloads/art-imagesFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-39365.

Detection rules

Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.

Attack patterns (CAPEC)

  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON