Tauri is a framework for building binaries for all major desktop platforms. This advisory is not describing a…
Historical advisory recorded 24 Oct 2026 22:17:33 UTC. Read the latest advisory.
nvd · CVE-2023-46115
PublishedTauri is a framework for building binaries for all major desktop platforms. This advisory is not describing a vulnerability in the Tauri code base itself but a commonly used misconfiguration which could lead to leaking of the private key and updater key password into bundled Tauri applications using the Vite frontend in a specific configuration. The Tauri documentation used an insecure example configuration in the `Vite guide` to showcase how to use Tauri together with Vite. Copying the following snippet `envPrefix: ['VITE_', 'TAURI_'],` from this guide into the `vite.config.ts` of a Tauri project leads to bundling the `TAURI_PRIVATE_KEY` and `TAURI_KEY_PASSWORD` into the Vite frontend code and therefore leaking this value to the released Tauri application. Using the `envPrefix: ['VITE_'],` or any other framework than Vite means you are not impacted by this advisory. Users are advised to rotate their updater private key if they are affected by this (requires Tauri CLI >=1.5.5). After updating the envPrefix configuration, generate a new private key with `tauri signer generate`, saving the new private key and updating the updater's `pubkey` value on `tauri.conf.json` with the new public key. To update your existing application, the next application build must be signed with the older private key in order to be accepted by the existing application.
Read the publisher's advisoryAffected versions, risk and source history
nvd · CVE-2023-46115
PublishedNVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Modified
Weakness classifications: CWE-200 · CWE-522
Original publisher date fields
published: 2023-10-20T00:15:16.920
lastModified: 2026-06-17T06:30:10.760
16 source CPE criteria · context only
- cpe:2.3:a:tauri:tauri:*:*:*:*:*:*:*:*
- cpe:2.3:a:tauri:tauri:2.0.0:alpha0:*:*:*:*:*:*
- cpe:2.3:a:tauri:tauri:2.0.0:alpha10:*:*:*:*:*:*
- cpe:2.3:a:tauri:tauri:2.0.0:alpha11:*:*:*:*:*:*
- cpe:2.3:a:tauri:tauri:2.0.0:alpha12:*:*:*:*:*:*
- cpe:2.3:a:tauri:tauri:2.0.0:alpha13:*:*:*:*:*:*
- cpe:2.3:a:tauri:tauri:2.0.0:alpha14:*:*:*:*:*:*
- cpe:2.3:a:tauri:tauri:2.0.0:alpha15:*:*:*:*:*:*
- cpe:2.3:a:tauri:tauri:2.0.0:alpha2:*:*:*:*:*:*
- cpe:2.3:a:tauri:tauri:2.0.0:alpha3:*:*:*:*:*:*
- cpe:2.3:a:tauri:tauri:2.0.0:alpha4:*:*:*:*:*:*
- cpe:2.3:a:tauri:tauri:2.0.0:alpha5:*:*:*:*:*:*
- cpe:2.3:a:tauri:tauri:2.0.0:alpha6:*:*:*:*:*:*
- cpe:2.3:a:tauri:tauri:2.0.0:alpha7:*:*:*:*:*:*
- cpe:2.3:a:tauri:tauri:2.0.0:alpha8:*:*:*:*:*:*
- cpe:2.3:a:tauri:tauri:2.0.0:alpha9:*:*:*:*:*:*
The original JSON retains the logical configuration operators, exclusions and version bounds.
No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.
Original source record · Cite this exact observation · Complete original publisher JSON