<?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://db.gcve.eu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-27T05:37:59.139432+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@gcve.eu</email>
  </author>
  <link href="https://db.gcve.eu" 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://db.gcve.eu/vuln/brew-vite-cve-2026-112947</id>
    <title>BREW-vite-CVE-2026-112947 — Vite: First 4 bytes of files outside of `server.fs` setting is exposed by `?vite-wasm-instance`</title>
    <updated>2026-10-27T05:37:59.141235+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Homebrew: vite</p>
<p>### Summary</p>
<p>The first 4 bytes of files outside of `server.fs` setting can be returned to the browser by a request containing `?vite-wasm-instance`.</p>
<p>### Impact</p>
<p>Only apps that match one of the following conditions are affected:</p>
<p>- explicitly expose the Vite dev server to the network using `--host` or the [`server.host`](https://vite.dev/config/server-options#server-host) option
- there's a file that has a sensitive information in **the first 4 bytes**
- uses Node.js or Deno to run Vite (if Bun is used, it is not affected)</p>
<p>### Details
Requests containing the `?vite-wasm-instance` query are handled by the internal Wasm plugin's `load` hook. The hook removes the query and reads the resulting path directly from disk, but the `server.fs` checks were not applied.</p>
<p>After reading the file, Vite attempts to parse it as WebAssembly. When that parse fails, Node and deno throws an error that contains the first 4 bytes of the file.</p>
<p>### PoC</p>
<p>Create a denied file and start an affected Vite dev server:</p>
<p>```bash
echo 'SECRET_KEY=abc123\n' &gt; .env
npm run dev
curl 'http://localhost:5173/.env?vite-wasm-instance'
```</p>
<p>This will show
```
Failed to parse WASM file "&lt;root&gt;/.env": WebAssembly.compile(): expected magic word 00 61 73 6d, found 53 45 43 52 @+0
```</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/brew-vite-cve-2026-112947"/>
  </entry>
  <entry>
    <id>https://db.gcve.eu/vuln/cve-2026-112947</id>
    <title>CVE-2026-112947 — Vite: First 4 bytes of files outside of `server.fs` setting is exposed by `?vite-wasm-instance`</title>
    <updated>2026-10-27T05:37:59.141340+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 8.2.0 until 8.2.4 and 8.3.3, the first 4 bytes of files outside of server.fs setting can be returned to the browser by a request containing ?vite-wasm-instance. Requests containing the ?vite-wasm-instance query are handled by the internal Wasm plugin's load hook. The hook removes the query and reads the resulting path directly from disk, but the server.fs checks were not applied. After reading the file, Vite attempts to parse it as WebAssembly. When that parse fails, Node and deno throws an error that contains the first 4 bytes of the file. This vulnerability is fixed in 8.2.4 and 8.3.3.</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/cve-2026-112947"/>
  </entry>
</feed>
