{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-34092","id":"CVE-2023-34092","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 serv","descriptionLong":"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.","published":"2023-06-01T16:29:51.428Z","updated":"2026-11-04T10:45:19.042018461Z","reserved":"2023-05-25T21:56:51.244Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"github.com"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"NVD"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"GitHub"}],"rating":"high","products":["vitejs vite"],"affectedProducts":[{"vendor":"vitejs","product":"vite","defaultStatus":null,"versions":[{"version":"< 2.9.16","status":"affected"},{"version":">= 3.0.2, < 3.2.7","status":"affected"},{"version":">= 4.0.0, < 4.0.5","status":"affected"},{"version":">= 4.1.0, < 4.1.5","status":"affected"},{"version":">= 4.2.0, < 4.2.3","status":"affected"},{"version":">= 4.3.0, < 4.3.9","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"vite","purl":"pkg:npm/vite","ranges":["<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"],"fixed":["2.9.16","3.2.7","4.0.5","4.1.5","4.2.3","4.3.9"],"advisory":"GHSA-353f-5xf4-qw67"}],"cwes":["CWE-50","CWE-200","CWE-706"],"aliases":["GHSA-353f-5xf4-qw67"],"references":[{"url":"https://github.com/vitejs/vite/security/advisories/GHSA-353f-5xf4-qw67","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Vendor Advisory","advisory","web"]},{"url":"https://github.com/vitejs/vite/pull/13348","tags":["x_refsource_MISC","x_transferred","Patch","fix","web"]},{"url":"https://github.com/vitejs/vite/commit/813ddd6155c3d54801e264ba832d8347f6f66b32","tags":["x_refsource_MISC","x_transferred","Patch","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/34xxx/CVE-2023-34092.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-34092","tags":["advisory"]},{"url":"https://github.com/vitejs/vite","tags":["package"]},{"url":"https://security.snyk.io/package/npm/vite/3.2.0-beta.4","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial"},"epss":0.03152,"epssPercentile":0.88224,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-34092","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-34092","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-34092","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-353f-5xf4-qw67","ok":true,"note":"GHSA-353f-5xf4-qw67"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-34092","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}