{"schemaVersion":3,"id":"CVE-2023-34092","aliases":["GHSA-353f-5xf4-qw67"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2023-06-01T16:29:51.428Z","modified":"2025-01-08T21:13:20.258Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.03126,"percentile":0.87689,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.03126},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.03126,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.03126,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.03126,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.03126,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.03126,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.03126,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03126,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03126,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03126,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03126,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03126,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03126,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03126,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03126,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03126,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03126,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03126,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03126,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03126,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03126,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03126,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03126,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03126,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03126,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03126,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03126,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03126,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03126,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03126,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03126,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03126,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03126,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03126,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03126,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03126,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.03126,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.03126,"percentile":0.87689}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.03126,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03126,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03126,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03126,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03126,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03126,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03126,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03126,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03126,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03126,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03126,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03126,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03126,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03126,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03126,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03126,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03126,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03126,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03126,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03126,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03126,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03126,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03126,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03126,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03126,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03126,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03126,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03126,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03126,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.03126,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.03126,"percentile":0.87689}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_VITEJS_VITE","name":"Vite","source":"github","url":"https://github.com/vitejs/vite/issues/8498","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-50","name":"Path Equivalence: '//multiple/leading/slash'","description":"The product accepts path input in the form of multiple leading slash ('//multiple/leading/slash') without appropriate validation, which can lead to ambiguous path resolution and allow an attacker to traverse the file system to unintended locations or access arbitrary files.","type":"weakness","status":"Incomplete","abstraction":"Variant","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/50.html"},{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor","description":"The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/200.html"},{"id":"CWE-706","name":"Use of Incorrectly-Resolved Name or Reference","description":"The product uses a name or reference to access a resource, but the name/reference resolves to a resource that is outside of the intended control sphere.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/706.html"}],"affected":[{"vendor":"Npm","product":"vite","name":"vite","label":"vite","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/vite","purlType":"npm","versions":[{"text":"< 2.9.16","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.0.2, < 3.2.7","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.0.0, < 4.0.5","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.1.0, < 4.1.5","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.2.0, < 4.2.3","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.3.0, < 4.3.9","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.9.16 | ≥ 3.0.2, < 3.2.7 | ≥ 4.0.0, < 4.0.5 | ≥ 4.1.0, < 4.1.5 | ≥ 4.2.0, < 4.2.3 | ≥ 4.3.0, < 4.3.9","eol":null,"hubHref":null},{"vendor":"vitejs","product":"vite","name":"vite","label":"vite","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.9.16","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.0.2, < 3.2.7","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.0.0, < 4.0.5","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.1.0, < 4.1.5","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.2.0, < 4.2.3","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.3.0, < 4.3.9","noFixRecorded":false,"fixedIn":null},{"text":"2.9.15","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.9.16 | ≥ 3.0.2, < 3.2.7 | ≥ 4.0.0, < 4.0.5 | ≥ 4.1.0, < 4.1.5 | ≥ 4.2.0, < 4.2.3 | ≥ 4.3.0, < 4.3.9 | 2.9.15","eol":null,"hubHref":"/vendor/vitejs/vite"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/vitejs/vite/security/advisories/GHSA-353f-5xf4-qw67","label":"github.com/vitejs/vite/security/advisories/GHSA-353f-5xf4-qw67","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Exploit","Vendor Advisory"]},{"url":"https://github.com/vitejs/vite/pull/13348","label":"github.com/vitejs/vite/pull/13348","hostname":"github.com","tags":["X Refsource MISC","WEB","Patch"]},{"url":"https://github.com/vitejs/vite/commit/813ddd6155c3d54801e264ba832d8347f6f66b32","label":"github.com/vitejs/vite/commit/813ddd6155c3d54801e264ba832d8347f6f66b32","hostname":"github.com","tags":["X Refsource MISC","WEB","Patch"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-34092","label":"nvd.nist.gov/vuln/detail/CVE-2023-34092","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/vitejs/vite","label":"github.com/vitejs/vite","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://security.snyk.io/package/npm/vite/3.2.0-beta.4","label":"security.snyk.io/package/npm/vite/3.2.0-beta.4","hostname":"security.snyk.io","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2023-06-01T16:29:51.428Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-01-08T21:13:20.258Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":41,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T01:53:41.245Z","stale":false,"partial":false}}