CVE-2023-46115
CVE-2023-46115 is a high-severity vulnerability in Tauri with a CVSS 3.x base score of 8.4. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-522.
Key facts
- Severity: High (CVSS 3.x base score 8.4)
- EPSS exploit prediction: 0% (9th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-522
- Affected product: Tauri
- Published:
- Last modified:
Description
Tauri 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.
Frequently asked questions
- What is CVE-2023-46115?
- Tauri 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.
- How severe is CVE-2023-46115?
- CVE-2023-46115 has a CVSS 3.x base score of 8.4, rated high severity. It is exploitable over local access with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability none.
- Is CVE-2023-46115 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (9th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2023-46115?
- CVE-2023-46115 primarily affects Tauri. In total, 16 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2023-46115?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2023-46115 published?
- CVE-2023-46115 was published on 2023-10-20 and last updated on 2026-06-17.
References
- https://github.com/tauri-apps/tauri/security/advisories/GHSA-2rcp-jvr4-r259
- https://tauri.app/v1/guides/getting-started/setup/vite/
Affected products (16)
- 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:*:*:*:*:*:*
More vulnerabilities in Tauri
- CVE-2026-42184 — High (CVSS 8.8): Tauri is a framework for building binaries for all major desktop platforms. From 2.0 to 2.11.0, a flaw in Tauri's…
- CVE-2022-39215 — High (CVSS 8.3): Tauri is a framework for building binaries for all major desktop platforms. Due to missing canonicalization when…
- CVE-2022-46171 — Medium (CVSS 6.8): Tauri is a framework for building binaries for all major desktop platforms. The filesystem glob pattern wildcards `*`,…
- CVE-2023-34460 — Medium (CVSS 4.8): Tauri is a framework for building binaries for all major desktop platforms. The 1.4.0 release includes a regression on…
- CVE-2023-31134 — Medium (CVSS 4.8): Tauri is software for building applications for multi-platform deployment. The Tauri IPC is usually strictly isolated…
- CVE-2022-41874 — Low (CVSS 2.6): Tauri is a framework for building binaries for all major desktop platforms. In versions prior to 1.0.7 and 1.1.2, Tauri…
Other CWE-522 (Insufficiently Protected Credentials) vulnerabilities
- CVE-2026-7312 — Critical (CVSS 10.0): CWE‑522: Insufficiently Protected Credentials in web services in Progress Sitefinity version from 14.0.7700 to…
- CVE-2026-29128 — Critical (CVSS 10.0): IDC SFX2100 Satellite Receiver firmware ships with multiple daemon configuration files for routing components (e.g.,…
- CVE-2025-54863 — Critical (CVSS 10.0): Radiometrics VizAir is vulnerable to exposure of the system's REST API key through a publicly accessible configuration…
- CVE-2024-12799 — Critical (CVSS 10.0): Insufficiently Protected Credentials vulnerability in OpenText Identity Manager Advanced Edition on Windows, Linux, 64…
- CVE-2024-51545 — Critical (CVSS 10.0): Username Enumeration vulnerabilities allow access to application level username add, delete, modify and list…
- CVE-2023-1778 — Critical (CVSS 10.0): This vulnerability exists in GajShield Data Security Firewall firmware versions prior to v4.28 (except v4.21) due to…
Browse all CWE-522 (Insufficiently Protected Credentials) vulnerabilities →