{"id":"EUVD-2023-2620","revision":null,"records":[{"revision":"d708f39ed41f4e86bb95a5a5924622a1","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2023-46115","aliases":[],"title":"Updater Private Keys Possibly Leaked via Vite Environment Variables in tauri-cli","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.","state":0,"publishedAt":"2023-10-19T23:35:03.875+00:00","modifiedAt":"2024-09-12T15:50:32.414+00:00","affected":[{"ecosystem":"Vendor product","name":"tauri","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"tauri-apps\",\n                    \"product\": \"tauri\",\n                    \"versions\": [\n                        {\n                            \"version\": \">= 2.0.0-alpha.0, < 2.0.0-alpha.16\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \">= 1.0.0, < 1.5.6\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","score":8.4,"severity":"HIGH"}],"references":["https://github.com/tauri-apps/tauri/security/advisories/GHSA-2rcp-jvr4-r259","https://tauri.app/v1/guides/getting-started/setup/vite/"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2023-46115","license":"CVE Program Terms of Use","key":"cve-program:CVE-2023-46115","identifiers":["CVE-2023-46115"]},"retained":false,"historicalAffected":[]},{"revision":"ebe427fc6d384ebc9e93857069cf434a","observedAt":"2026-11-15T00:35:06.233+00:00","statement":{"source":"euvd","id":"EUVD-2023-2620","aliases":["CVE-2023-46115","GHSA-2rcp-jvr4-r259"],"title":"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 an…","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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","score":8.4,"severity":null}],"references":["https://github.com/tauri-apps/tauri/security/advisories/GHSA-2rcp-jvr4-r259","https://tauri.app/v1/guides/getting-started/setup/vite/"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2023-2620","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Oct 19, 2023, 11:35:03 PM","dateUpdated":"Sep 12, 2024, 3:50:32 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2023-2620","identifiers":["EUVD-2023-2620","CVE-2023-46115","GHSA-2rcp-jvr4-r259"]},"retained":false,"historicalAffected":[]},{"revision":"b89f6adc561d413e8667571cbb4a6834","observedAt":"2026-10-24T22:17:33.701+00:00","statement":{"source":"nvd","id":"CVE-2023-46115","aliases":[],"title":"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 an…","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.","state":0,"publishedAt":"2023-10-20T00:15:16.92+00:00","modifiedAt":"2026-06-17T06:30:10.76+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","score":8.4,"severity":"HIGH"},{"system":"CVSS 3.1 · nvd@nist.gov · Primary","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":5.5,"severity":"MEDIUM"}],"references":["https://github.com/tauri-apps/tauri/security/advisories/GHSA-2rcp-jvr4-r259","https://tauri.app/v1/guides/getting-started/setup/vite/"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2023-46115","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Modified","weaknesses":["CWE-200","CWE-522"],"productCriteria":["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:*:*:*:*:*:*"],"sourceDates":{"published":"2023-10-20T00:15:16.920","lastModified":"2026-06-17T06:30:10.760"},"relatedAdvisories":[],"note":"NVD 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."},"key":"nvd:CVE-2023-46115","identifiers":["CVE-2023-46115"]},"retained":false,"historicalAffected":[]},{"revision":"d494583e25654b5da74a6d2538d7ab54","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-2rcp-jvr4-r259","aliases":["CVE-2023-46115"],"title":"Tauri's Updater Private Keys Possibly Leaked via Vite Environment Variables","description":"### Impact\n\nThis 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.\n\nThe Tauri documentation used an insecure example configuration in the [Vite guide](https://tauri.app/v1/guides/getting-started/setup/vite/) to showcase how to use Tauri together with Vite. \n\nCopying the following snippet `envPrefix: ['VITE_', 'TAURI_'],` from this guide into the `vite.config.ts` of a Tauri project possibly leads to bundling the `TAURI_PRIVATE_KEY` and `TAURI_KEY_PASSWORD` into the Vite frontend code and therefore leaking this value to the debug built of a Tauri application.\n\nThe value is automatically bundled into debug builds but for production builds it is not embedded, as long as it is not directly referenced in the frontend code. Vite statically replaces these values in production builds. This reduces the amount of affected applications to a very small amount of affected applications.\n\nTo verify if you are affected you can search for the private key value or the `TAURI_PRIVATE_KEY` variable inside the release build frontend assets (`dist/`).\n\n> Example: `grep -r \"TAURI_PRIVATE_KEY\" dist/`\n\nUsing only the `envPrefix: ['VITE_'],` or any other framework than Vite means you are not impacted by this advisory.\n\n### Patches\n\nThe documentation has been patched but as the root cause is not in Tauri itself the issue is not fixed by updating Tauri.\nThe `vite.config.ts` configuration of the project needs to be adapted.\n\nWe recommend rotating your updater private key if you 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.\n\n### Workarounds\n\nThe `envPrefix: ['VITE_'],`should be used and the desired `TAURI` variables manually added.\nRespective these variables could be added `TAURI_PLATFORM`, `TAURI_ARCH`, `TAURI_FAMILY`, `TAURI_PLATFORM_VERSION`, `TAURI_PLATFORM_TYPE` and `TAURI_DEBUG` without leaking sensitive information.\n\nWe urge affected users to implement the workaround as the `1.x` branch will not receive a general prevention fix as it would break systems.\n\n### References\nThe issue was originally disclosed in our discord [here](https://discord.com/channels/616186924390023171/1164260301655523409).\nThe affected guide is [https://tauri.app/v1/guides/getting-started/setup/vite/](https://tauri.app/v1/guides/getting-started/setup/vite/).\n\n\n> Update: We lowered the severity from high to low, as the likelihood of impact was found to only affect a **very limited** amount of applications.\n\n> Update2: We changed the affected versions to make clear that after `2.0.0-alpha.16` or `1.5.6` the potentially vulnerable recommendation was no longer visible on our website and should not affect projects by default. A lot of users were confused and we believe this advisory reached the necessary user base.\n","state":0,"publishedAt":"2023-10-20T15:18:52+00:00","modifiedAt":"2026-09-10T03:50:03.379653+00:00","affected":[{"ecosystem":"crates.io","name":"tauri-cli","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"2.0.0-alpha.0"},{"kind":"fixed","version":"2.0.0-alpha.16"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"@tauri-apps/cli","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"2.0.0-alpha.0"},{"kind":"fixed","version":"2.0.0-alpha.16"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"@tauri-apps/cli","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"1.0.0"},{"kind":"fixed","version":"1.5.6"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"crates.io","name":"tauri-cli","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"1.0.0"},{"kind":"fixed","version":"1.5.6"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/tauri-apps/tauri/security/advisories/GHSA-2rcp-jvr4-r259","https://nvd.nist.gov/vuln/detail/CVE-2023-46115","https://github.com/tauri-apps/tauri/commit/8b166e9bf82e69ddb3200a3a825614980bd8d433","https://discord.com/channels/616186924390023171/1164260301655523409","https://github.com/tauri-apps/tauri","https://tauri.app/v1/guides/getting-started/setup/vite"],"sourceUrl":"https://github.com/advisories/GHSA-2rcp-jvr4-r259","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-2rcp-jvr4-r259","identifiers":["GHSA-2rcp-jvr4-r259","CVE-2023-46115"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-16T21:26:22.1226934+00:00","complete":true,"records":1781,"lastAttemptAt":"2026-11-16T21:26:22.1226934+00:00","lastSuccessAt":"2026-11-16T21:26:22.353019+00:00","error":null,"lastVerifiedAt":"2026-11-16T21:26:22.3530195+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-6be044d0e08779dadd136f949a536de4047af96f5d7bceb7e190ecffbb8f18ca-b7ae3bdb0699f2500ff81a2529250ecaa285d9a3824324996c109bf112b16dad","complete":true,"records":426173,"lastAttemptAt":"2026-11-16T21:26:21.5473051+00:00","lastSuccessAt":"2026-11-16T21:26:21.4103203+00:00","error":null,"lastVerifiedAt":"2026-11-16T21:26:21.5473051+00:00","snapshotPublishedAt":"2026-11-16T21:21:33+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-f07cbea7dec4426c9e098dc06e262653","complete":true,"records":13831,"lastAttemptAt":"2026-11-16T21:26:49.3867614+00:00","lastSuccessAt":"2026-11-16T20:48:05.528+00:00","error":null,"lastVerifiedAt":"2026-11-16T20:48:05.528+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13884,"expectedIdentifiers":13884,"failedIdentifiers":0},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-16T21:26:22.1226934+00:00","complete":true,"records":1125,"lastAttemptAt":"2026-11-16T21:26:22.1226934+00:00","lastSuccessAt":"2026-11-16T21:26:22.4130322+00:00","error":null,"lastVerifiedAt":"2026-11-16T21:26:22.4130334+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-05d1c8ce07ac4b8a9be803d9f202f74d","complete":false,"records":13843,"lastAttemptAt":"2026-11-16T21:26:48.2924706+00:00","lastSuccessAt":"2026-11-16T21:26:48.286+00:00","error":"10 identifier lookups failed; latest failures include HttpError (HTTP 503). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-16T21:26:48.286+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13874,"expectedIdentifiers":13884,"failedIdentifiers":10},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-64eea06dbd27de8464d5dbce1b78cc794cc59e2d901516ae0d3ea76e624cdae0","complete":true,"records":9955,"lastAttemptAt":"2026-11-16T21:26:21.9356446+00:00","lastSuccessAt":"2026-11-14T13:57:23.1208135+00:00","error":null,"lastVerifiedAt":"2026-11-16T21:26:21.9356446+00:00","snapshotPublishedAt":"2026-11-14T13:17:57+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-f4424d7d4861b1af1404bd15abcb83f295dcd003412a9340ca99dc8200aa148a","complete":true,"records":2014,"lastAttemptAt":"2026-11-16T21:26:21.7079424+00:00","lastSuccessAt":"2026-11-13T19:57:08.2864435+00:00","error":null,"lastVerifiedAt":"2026-11-16T21:26:21.7079424+00:00","snapshotPublishedAt":"2026-11-13T19:33:10+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-6086d649bcb454cdf302d7d9275177bda73550e1b6e446b3520e9b6266d3582c","complete":true,"records":3148,"lastAttemptAt":"2026-11-16T21:26:22.0454831+00:00","lastSuccessAt":"2026-11-15T11:05:17.1034234+00:00","error":null,"lastVerifiedAt":"2026-11-16T21:26:22.0454831+00:00","snapshotPublishedAt":"2026-11-15T10:03:04+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-d3135f0ae820c85dd153afd7ef11f8856f87d0924652a66bf0a06179e07249db","complete":true,"records":232552,"lastAttemptAt":"2026-11-16T21:26:21.8242462+00:00","lastSuccessAt":"2026-11-16T20:47:32.4854972+00:00","error":null,"lastVerifiedAt":"2026-11-16T21:26:21.8242462+00:00","snapshotPublishedAt":"2026-11-16T20:33:36+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}