# CVE-2026-39365: Vite has a Path Traversal in Optimized Deps \`.map\` Handling

- Priority: **Routine**
- Reason: Not severe (CVSS 6.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-04-07 · Modified: 2026-04-15
- Aliases: CGA-8m9r-wxfq-82v6, CGA-8mcr-ppc8-xccj, CGA-j6hq-p3gf-296j, CGA-rcfv-3vwx-gq5q, CGA-w6fx-4wqq-362x, CGA-wq55-vvw6-xhvm, GHSA-4w7w-66w2-5vf9, CGA-292h-5fp3-jc63, CGA-29m6-f25r-pmj2, CGA-2c8h-jqx9-64mr, CGA-2gcv-43vq-7fwq, CGA-2pwf-492v-hp2x, CGA-2w5p-xw8f-rfg8, CGA-2w9p-6j7p-vp3c, CGA-2x5m-f9gv-p85m, CGA-36cp-x44v-54jr, CGA-3h55-mrfw-rrxx, CGA-3pr8-ph6j-3xfh, CGA-3wrc-wpjv-f66w, CGA-3x9q-8qfr-mm4c, CGA-48jh-hq65-jq95, CGA-4pjv-whfj-qh8v, CGA-5fg9-4gff-xr77, CGA-5fp5-jhh7-cgv6, CGA-5hh9-vh88-gvpg, CGA-62xm-h489-m4hh, CGA-6chq-7p7m-fr38, CGA-6w52-3ccj-g82x, CGA-79mr-j37r-qw8j, CGA-7fx6-7ghh-4x62, CGA-7hmj-mv94-q2c6, CGA-7pmq-vph9-6q3w, CGA-7qhv-8473-c7jg, CGA-89jh-xqq3-c693, CGA-96xr-3fjv-3c5g, CGA-9f32-q4j5-qxg7, CGA-9jxv-xp73-752v, CGA-c2rj-2wjq-wpx3, CGA-c3h6-qcjw-hq68, CGA-c4w6-j8rq-qv6p, CGA-ccg6-wjj9-9j6f, CGA-cjw7-q3r2-fg25, CGA-cqpv-45c2-v993, CGA-cqvx-h52m-82jm, CGA-f53m-j53p-345v, CGA-fhcj-x5v8-pw24, CGA-frvj-6ffg-jr29, CGA-fwmh-4pxf-43h7, CGA-g6jh-cqfh-m889, CGA-g6w6-fv3c-jm4v, CGA-gcv3-fp4g-82g2, CGA-h35c-r8qh-hx5v, CGA-h378-784f-fr2v, CGA-h6gr-x5jf-783w, CGA-h96v-m687-4whg, CGA-h977-692v-wv2m, CGA-h982-38c2-74g6, CGA-h9mf-vgmg-xm9c, CGA-hf9c-57xx-4p5g, CGA-hg2h-wq68-v684, CGA-hp29-v6g4-g9qj, CGA-j4fv-3p4v-8fcw, CGA-j9v8-g324-cwc5, CGA-jh9h-gchr-88c6, CGA-jx58-mf5x-r6jp, CGA-m5xr-5f5f-8qw5, CGA-m8j4-2v44-7vmp, CGA-p6gm-m9xf-5fr3, CGA-qg3j-xv4h-g2hg, CGA-qjw2-4rw3-c49p, CGA-qpvh-5xxj-5fv7, CGA-r22w-rrcp-g26w, CGA-v6fv-h3xr-6mw5, CGA-v9vq-7586-jjpw, CGA-vvgq-48hw-r7gh, CGA-vvv4-rvxr-73wh, CGA-vw44-xv5x-m2w5, CGA-wfcf-mj54-35j9, CGA-wx82-rqw3-7x9q, CGA-xc9f-cx4h-279g, CGA-xm4h-5fx8-qjrr
- Record: https://cvemate.com/vulnerability/CVE-2026-39365 · JSON: https://cvemate.com/vulnerability/CVE-2026-39365/json

## Description

```text
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.
```

## Signals

- CVSS: 6.3 medium (v4.0, CVE.org) 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
- EPSS: 0.999%, percentile 63.915%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected (first 20 of 45)

- chainguard commercial-gitlab-rails-ee-19.1 (Chainguard): \< 19.1.7-r3
- chainguard commercial-gitlab-rails-ee-19.2 (Chainguard): \< 19.2.7-r1
- chainguard commercial-gitlab-rails-ee-19.3 (Chainguard): \< 19.3.3-r1
- chainguard commercial-gitlab-rails-ee-19.4 (Chainguard): \< 19.4.1-r1
- chainguard commercial-gitlab-rails-ee-fips-19.1 (Chainguard): All versions (No fix recorded) \| \< 19.1.9-r0
- chainguard commercial-gitlab-rails-ee-fips-19.2 (Chainguard): \< 19.2.7-r1
- chainguard commercial-gitlab-rails-ee-fips-19.3 (Chainguard): \< 19.3.3-r1
- chainguard commercial-gitlab-rails-ee-fips-19.4 (Chainguard): \< 19.4.1-r1
- chainguard gitlab-rails-ce-18.1 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.10 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.11 (Chainguard): All versions (No fix recorded) \| \< 18.11.13-r0
- chainguard gitlab-rails-ce-18.5 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.6 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.7 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.8 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.9 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-19.0 (Chainguard): All versions (No fix recorded) \| \< 19.0.10-r0
- chainguard gitlab-rails-ce-19.1 (Chainguard): \< 19.1.2-r2
- chainguard gitlab-rails-ce-fips-18.1 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.10 (Chainguard): \< 18.10.8-r8

## References

- <https://github.com/vitejs/vite/security/advisories/GHSA-4w7w-66w2-5vf9>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/39xxx/CVE-2026-39365.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-39365>
- <https://github.com/vitejs/vite/pull/22161>
- <https://github.com/vitejs/vite/commit/79f002f2286c03c88c7b74c511c7f9fc6dc46694>
- <https://github.com/vitejs/vite>
- <https://github.com/vitejs/vite/releases/tag/v6.4.2>
- <https://github.com/vitejs/vite/releases/tag/v7.3.2>
- <https://github.com/vitejs/vite/releases/tag/v8.0.5>

---

Data as of 2026-12-05T07:50:54.690Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
