<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-03T23:45:05.011843+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/cve-2026-39365</id>
    <title>CVE-2026-39365 — Vite has a Path Traversal in Optimized Deps `.map` Handling</title>
    <updated>2026-10-03T23:45:05.294223+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> vitejs vite, vitejs vite-plus</p>
<p>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.</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2026-39365"/>
  </entry>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/ghsa-4w7w-66w2-5vf9</id>
    <title>GHSA-4w7w-66w2-5vf9 — Vite Vulnerable to Path Traversal in Optimized Deps `.map` Handling</title>
    <updated>2026-10-03T23:45:05.294530+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> npm: vite</p>
<p>### Summary</p>
<p>Any files ending with `.map` even out side the project can be returned to the browser.</p>
<p>### Impact</p>
<p>Only apps that match the following conditions are affected:</p>
<p>- explicitly exposes the Vite dev server to the network (using `--host` or [`server.host` config option](https://vitejs.dev/config/server-options.html#server-host))
- have a sensitive content in files ending with `.map` and the path is predictable</p>
<p>### Details</p>
<p>In Vite v7.3.1, 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`](https://vite.dev/config/server-options#server-fs-strict) allow list and retrieve `.map` files located outside the project root, provided they can be parsed as valid source map JSON.</p>
<p>### PoC
1. Create a minimal PoC sourcemap outside the project root
    ```bash
    cat &gt; /tmp/poc.map &lt;&lt;'EOF'
    {"version":3,"file":"x.js","sources":[],"names":[],"mappings":""}
    EOF
    ```
2. Start the Vite dev server (example)
    ```bash
    pnpm -C playground/fs-serve dev --host 127.0.0.1 --port 18080
    ```
3. Confirm that direct `/@fs` access is blocked by `strict` (returns 403)
    &lt;img width="4004" height="1038" alt="image" src="https://github.com/user-attachments/assets/15a859a8-1dc6-4105-8d58-80527c0dd9ab" /&gt;
4. Inject `../` segments under the optimized deps `.map` URL prefix to reach `/tmp/poc.map`
    &lt;img width="2…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/ghsa-4w7w-66w2-5vf9"/>
  </entry>
</feed>
