CVE-2026-39365 Vite has a Path Traversal in Optimized Deps `.map` Handling
MediumCVSS 6.3
EPSS 0.91%
Scanner template
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: total
- Technology
- Red Hat
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.
Upgrade path
20 packages: 3 fixed, 16 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat/automation-controller(Red Hat ansible_automation_platform 2) | All versions | No fix listed | No fix yet |
| redhat/automation-eda-controller(Red Hat ansible_automation_platform 2) | All versions | No fix listed | No fix yet |
| redhat/automation-gateway(Red Hat ansible_automation_platform 2) | All versions | No fix listed | No fix yet |
| redhat/automation-platform-ui(Red Hat ansible_automation_platform 2) | All versions | No fix listed | No fix yet |
| redhat/podman-desktop-macos-1-0(Red Hat podman_desktop 1) | All versions | No fix listed | No fix yet |
| redhat/podman-desktop-windows-1-0(Red Hat podman_desktop 1) | All versions | No fix listed | No fix yet |
| redhat/redhat-user-workloads/art-images(Red Hat openshift 4) | All versions | No fix listed | No fix yet |
| redhat/redhat-user-workloads/bootc-ext(Red Hat podman_desktop 0) | All versions | No fix listed | No fix yet |
| redhat/redhat-user-workloads/gateway-rhel9(Red Hat ansible_automation_platform 2) | All versions | No fix listed | No fix yet |
| redhat/redhat-user-workloads/mcp-server-rhel9(Red Hat ansible_automation_platform 2) | All versions | No fix listed | No fix yet |
| redhat/redhat-user-workloads/openshift-local-ext(Red Hat podman_desktop 0) | All versions | No fix listed | No fix yet |
| redhat/redhat-user-workloads/rhel-ext(Red Hat podman_desktop 0) | All versions | No fix listed | No fix yet |
| redhat/rhacs-eng/release-main(Red Hat advanced_cluster_security 4) | All versions | No fix listed | No fix yet |
| redhat/vite(Red Hat build_keycloak) | All versions | No fix listed | No fix yet |
| redhat/vite(Red Hat jboss_enterprise_application_platform 8) | All versions | No fix listed | No fix yet |
| redhat/vite(Red Hat jbosseapxp) | All versions | No fix listed | No fix yet |
| npm vite(npm) | < 6.4.2; <= 6.4.1; >= 7.0.0, < 7.3.2; >= 7.0.0, <= 7.3.1 +2 more | 6.4.2, 7.3.2, 8.0.5 | Fixed |
| vitejs vite | = >= 6.0.0, < 6.4.2; = >= 7.0.0, < 7.3.2; = >= 8.0.0, < 8.0.5; >= 6.0.0, <= 6.4.1 +2 more | after 6.4.1, 7.3.1, 8.0.4 | Fixed |
| voidzero vite+ | <= 0.1.15 | after 0.1.15 | Fixed |
| vitejs vite-plus | = < 0.1.16 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| vitejs vite | = >= 8.0.0, < 8.0.5 | No fix listed |
| vitejs vite | = >= 7.0.0, < 7.3.2 | No fix listed |
| vitejs vite | = >= 6.0.0, < 6.4.2 | No fix listed |
| vitejs vite-plus | = < 0.1.16 | No fix listed |
| npm vite(npm) | >= 8.0.0, <= 8.0.4 | No fix listed |
| npm vite(npm) | >= 7.0.0, <= 7.3.1 | No fix listed |
| npm vite(npm) | <= 6.4.1 | No fix listed |
| redhat/rhacs-eng/release-main(Red Hat:advanced_cluster_security:4) | All versions | No fix listed |
| redhat/automation-controller(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| redhat/automation-eda-controller(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| redhat/automation-gateway(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| redhat/automation-platform-ui(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| redhat/redhat-user-workloads/gateway-rhel9(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| redhat/redhat-user-workloads/mcp-server-rhel9(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| redhat/vite(Red Hat:build_keycloak:) | All versions | No fix listed |
| redhat/podman-desktop-macos-1-0(Red Hat:podman_desktop:1) | All versions | No fix listed |
| redhat/podman-desktop-windows-1-0(Red Hat:podman_desktop:1) | All versions | No fix listed |
| redhat/redhat-user-workloads/bootc-ext(Red Hat:podman_desktop:0) | All versions | No fix listed |
| redhat/redhat-user-workloads/openshift-local-ext(Red Hat:podman_desktop:0) | All versions | No fix listed |
| redhat/redhat-user-workloads/rhel-ext(Red Hat:podman_desktop:0) | All versions | No fix listed |
| redhat/vite(Red Hat:jboss_enterprise_application_platform:8) | All versions | No fix listed |
| redhat/vite(Red Hat:jbosseapxp) | All versions | No fix listed |
| redhat/redhat-user-workloads/art-images(Red Hat:openshift:4) | All versions | No fix listed |
| vitejs vite | >= 6.0.0, <= 6.4.1 | No fix listed |
| vitejs vite | >= 7.0.0, <= 7.3.1 | No fix listed |
Show 5 more
| Product | Affected versions | Fixed in |
|---|---|---|
| vitejs vite | >= 8.0.0, <= 8.0.4 | No fix listed |
| voidzero vite+ | <= 0.1.15 | No fix listed |
| npm vite(npm) | >= 8.0.0, < 8.0.5 | 8.0.5 |
| npm vite(npm) | >= 7.0.0, < 7.3.2 | 7.3.2 |
| npm vite(npm) | < 6.4.2 | 6.4.2 |
References
- https://github.com/vitejs/vite/security/advisories/GHSA-4w7w-66w2-5vf9 exploit vendor-advisory
- github.com patch
- github.com patch
- github.com
- github.com
- github.com
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2456190 issue-tracking
- www.cve.org
- github.com product