{"id":"GHSA-353f-5xf4-qw67","revision":null,"records":[{"revision":"fadf7992b34a47bba598f74cfd01e92f","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2023-34092","aliases":[],"title":"Vite Server Options (server.fs.deny) can be bypassed using double forward-slash (//)","description":"Vite provides frontend tooling. Prior to versions 2.9.16, 3.2.7, 4.0.5, 4.1.5, 4.2.3, and 4.3.9, Vite Server Options (`server.fs.deny`) can be bypassed using double forward-slash (//) allows any unauthenticated user to read file from the Vite root-path of the application including the default `fs.deny` settings (`['.env', '.env.*', '*.{crt,pem}']`). Only users explicitly exposing the Vite dev server to the network (using `--host` or `server.host` config option) are affected, and only files in the immediate Vite project root folder could be exposed. This issue is fixed in vite@4.3.9, vite@4.2.3, vite@4.1.5, vite@4.0.5, vite@3.2.7, and vite@2.9.16.","state":0,"publishedAt":"2023-06-01T16:29:51.428+00:00","modifiedAt":"2025-01-08T21:13:20.258+00:00","affected":[{"ecosystem":"Vendor product","name":"vite","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"vitejs\",\n                    \"product\": \"vite\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 2.9.16\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \">= 3.0.2, < 3.2.7\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \">= 4.0.0, < 4.0.5\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \">= 4.1.0, < 4.1.5\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \">= 4.2.0, < 4.2.3\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \">= 4.3.0, < 4.3.9\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"severity":"HIGH"}],"references":["https://github.com/vitejs/vite/security/advisories/GHSA-353f-5xf4-qw67","https://github.com/vitejs/vite/pull/13348","https://github.com/vitejs/vite/commit/813ddd6155c3d54801e264ba832d8347f6f66b32"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2023-34092","license":"CVE Program Terms of Use","key":"cve-program:CVE-2023-34092","identifiers":["CVE-2023-34092"]},"retained":false,"historicalAffected":[]},{"revision":"4d02e9c437ac41bb8df7d8be5aa3e446","observedAt":"2026-11-16T04:31:45.124+00:00","statement":{"source":"euvd","id":"EUVD-2023-1665","aliases":["CVE-2023-34092","GHSA-353f-5xf4-qw67"],"title":"Vite provides frontend tooling. Prior to versions 2.9.16, 3.2.7, 4.0.5, 4.1.5, 4.2.3, and 4.3.9, Vite Server Options (`server.fs.deny`) can be bypassed using double forward-slash (//) allows any unauthenticated user to read file from the Vi…","description":"Vite provides frontend tooling. Prior to versions 2.9.16, 3.2.7, 4.0.5, 4.1.5, 4.2.3, and 4.3.9, Vite Server Options (`server.fs.deny`) can be bypassed using double forward-slash (//) allows any unauthenticated user to read file from the Vite root-path of the application including the default `fs.deny` settings (`['.env', '.env.*', '*.{crt,pem}']`). Only users explicitly exposing the Vite dev server to the network (using `--host` or `server.host` config option) are affected, and only files in the immediate Vite project root folder could be exposed. This issue is fixed in vite@4.3.9, vite@4.2.3, vite@4.1.5, vite@4.0.5, vite@3.2.7, and vite@2.9.16.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"severity":null}],"references":["https://github.com/vitejs/vite/security/advisories/GHSA-353f-5xf4-qw67","https://github.com/vitejs/vite/pull/13348","https://github.com/vitejs/vite/commit/813ddd6155c3d54801e264ba832d8347f6f66b32"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2023-1665","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Jun 1, 2023, 4:29:51 PM","dateUpdated":"Jan 8, 2025, 9:13:20 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-1665","identifiers":["EUVD-2023-1665","CVE-2023-34092","GHSA-353f-5xf4-qw67"]},"retained":false,"historicalAffected":[]},{"revision":"9d69a91739384163b24583b490cd4b23","observedAt":"2026-10-24T22:17:15.774+00:00","statement":{"source":"nvd","id":"CVE-2023-34092","aliases":[],"title":"Vite provides frontend tooling. Prior to versions 2.9.16, 3.2.7, 4.0.5, 4.1.5, 4.2.3, and 4.3.9, Vite Server Options (`server.fs.deny`) can be bypassed using double forward-slash (//) allows any unauthenticated user to read file from the Vi…","description":"Vite provides frontend tooling. Prior to versions 2.9.16, 3.2.7, 4.0.5, 4.1.5, 4.2.3, and 4.3.9, Vite Server Options (`server.fs.deny`) can be bypassed using double forward-slash (//) allows any unauthenticated user to read file from the Vite root-path of the application including the default `fs.deny` settings (`['.env', '.env.*', '*.{crt,pem}']`). Only users explicitly exposing the Vite dev server to the network (using `--host` or `server.host` config option) are affected, and only files in the immediate Vite project root folder could be exposed. This issue is fixed in vite@4.3.9, vite@4.2.3, vite@4.1.5, vite@4.0.5, vite@3.2.7, and vite@2.9.16.","state":0,"publishedAt":"2023-06-01T17:15:10.947+00:00","modifiedAt":"2026-06-17T06:02:52.573+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"severity":"HIGH"},{"system":"CVSS 3.1 · nvd@nist.gov · Primary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"severity":"HIGH"}],"references":["https://github.com/vitejs/vite/commit/813ddd6155c3d54801e264ba832d8347f6f66b32","https://github.com/vitejs/vite/pull/13348","https://github.com/vitejs/vite/security/advisories/GHSA-353f-5xf4-qw67"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2023-34092","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Modified","weaknesses":["CWE-50","CWE-200","CWE-706"],"productCriteria":["cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:*","cpe:2.3:a:vitejs:vite:2.9.15:*:*:*:*:node.js:*:*"],"sourceDates":{"published":"2023-06-01T17:15:10.947","lastModified":"2026-06-17T06:02:52.573"},"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-34092","identifiers":["CVE-2023-34092"]},"retained":false,"historicalAffected":[]},{"revision":"d3ceae525d6042a596f8ee117f63deb1","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-353f-5xf4-qw67","aliases":["CVE-2023-34092"],"title":"Vite Server Options (server.fs.deny) can be bypassed using double forward-slash (//)","description":"The issue involves a security vulnerability in Vite where the server options can be bypassed using a double forward slash (`//`). This vulnerability poses a potential security risk as it can allow unauthorized access to sensitive directories and files.\n\n### Steps to Fix. **Update Vite**: Ensure that you are using the latest version of Vite. Security issues like this are often fixed in newer releases.\\n2. **Secure the server configuration**: In your `vite.config.js` file, review and update the server configuration options to restrict access to unauthorized requests or directories.\n\n### Impact\nOnly users explicitly exposing the Vite dev server to the network (using `--host` or the [`server.host` config option](https://vitejs.dev/config/server-options.html#server-host)) are affected and only files in the immediate Vite project root folder could be exposed.\\n\\n### Patches\\nFixed in vite@**4.3.9**, vite@**4.2.3**, vite@**4.1.5**, vite@**4.0.5** and in the latest minors of the previous two majors, vite@**3.2.7** and vite@**2.9.16**.\n\n ### Details \nVite serves the application with under the root-path of the project while running on the dev mode. By default, Vite uses the server option fs.deny to protect sensitive files. But using a simple double forward-slash, we can bypass this restriction. \\n\\n### PoC\\n1. Create a new latest project of Vite using any package manager. (here I'm using react and vue templates and pnpm for testing)\\n2. Serve the application on dev mode using `pnpm run dev`.\\n3. Directly access the file via url using double forward-slash (`//`) (e.g: `//.env`, `//.env.local`)\\n4. The server option `fs.deny` was successfully bypassed.\n\nProof Images: ![proof-1](https://user-images.githubusercontent.com/30733517/241105344-6ecbc7f6-57b7-45c7-856a-6421a577dda1.png)\\n![proof-2](https://user-images.githubusercontent.com/30733517/241105349-ab9561e7-8aff-4f29-97f9-b784e673c122.png)","state":0,"publishedAt":"2023-06-06T02:01:39+00:00","modifiedAt":"2026-09-10T03:50:01.9120237+00:00","affected":[{"ecosystem":"npm","name":"vite","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"2.9.16"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"vite","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"3.0.2"},{"kind":"fixed","version":"3.2.7"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"vite","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"4.0.0"},{"kind":"fixed","version":"4.0.5"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"vite","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"4.1.0"},{"kind":"fixed","version":"4.1.5"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"vite","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"4.2.0"},{"kind":"fixed","version":"4.2.3"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"vite","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"4.3.0"},{"kind":"fixed","version":"4.3.9"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/vitejs/vite/security/advisories/GHSA-353f-5xf4-qw67","https://nvd.nist.gov/vuln/detail/CVE-2023-34092","https://github.com/vitejs/vite/pull/13348","https://github.com/vitejs/vite/commit/813ddd6155c3d54801e264ba832d8347f6f66b32","https://github.com/vitejs/vite","https://security.snyk.io/package/npm/vite/3.2.0-beta.4"],"sourceUrl":"https://github.com/advisories/GHSA-353f-5xf4-qw67","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-353f-5xf4-qw67","identifiers":["GHSA-353f-5xf4-qw67","CVE-2023-34092"]},"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-16T15:46:28.5867679+00:00","complete":true,"records":1781,"lastAttemptAt":"2026-11-16T15:46:28.5867679+00:00","lastSuccessAt":"2026-11-16T15:46:28.7336518+00:00","error":null,"lastVerifiedAt":"2026-11-16T15:46:28.7336528+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-12f82bfd2f0251f244474ead94aa147d6e6e5a295312f7bfcd9f3990dddcf44d","complete":true,"records":426048,"lastAttemptAt":"2026-11-16T15:44:51.0968416+00:00","lastSuccessAt":"2026-11-16T15:44:51.0015391+00:00","error":null,"lastVerifiedAt":"2026-11-16T15:44:51.0968416+00:00","snapshotPublishedAt":"2026-11-16T15:30:52+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-b53a453bd21948638a37a0c1d9db90a8","complete":true,"records":13830,"lastAttemptAt":"2026-11-16T15:47:10.0420289+00:00","lastSuccessAt":"2026-11-16T15:47:10.038+00:00","error":null,"lastVerifiedAt":"2026-11-16T15:47:10.038+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13883,"expectedIdentifiers":13883,"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-16T15:46:28.5867679+00:00","complete":true,"records":1125,"lastAttemptAt":"2026-11-16T15:46:28.5867679+00:00","lastSuccessAt":"2026-11-16T15:46:28.7348718+00:00","error":null,"lastVerifiedAt":"2026-11-16T15:46:28.7348721+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-9aad64c357a84d2b95eb370a9099d8a7","complete":false,"records":13842,"lastAttemptAt":"2026-11-16T15:46:54.2697305+00:00","lastSuccessAt":"2026-11-16T15:46:54.266+00:00","error":"209 identifier lookups failed; latest failures include HttpError (HTTP 503). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-16T15:46:54.266+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13674,"expectedIdentifiers":13883,"failedIdentifiers":209},{"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-16T15:46:28.4519077+00:00","lastSuccessAt":"2026-11-14T13:57:23.1208135+00:00","error":null,"lastVerifiedAt":"2026-11-16T15:46:28.4519077+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-16T15:44:51.2546448+00:00","lastSuccessAt":"2026-11-13T19:57:08.2864435+00:00","error":null,"lastVerifiedAt":"2026-11-16T15:44:51.2546448+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-16T15:46:28.5571571+00:00","lastSuccessAt":"2026-11-15T11:05:17.1034234+00:00","error":null,"lastVerifiedAt":"2026-11-16T15:46:28.5571571+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-58b43c63da2e2d496e2f653c5bea97bd9deda68f62d1c3a4dc0212d13b04b5b2","complete":true,"records":232492,"lastAttemptAt":"2026-11-16T15:46:28.326888+00:00","lastSuccessAt":"2026-11-16T15:46:27.3875263+00:00","error":null,"lastVerifiedAt":"2026-11-16T15:46:28.326888+00:00","snapshotPublishedAt":"2026-11-16T15:33:39+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}