{"id":"CVE-2026-118662","revision":null,"records":[{"revision":"2e2fb36768e14eaba3ce4b61c769106e","observedAt":"2026-11-03T01:57:22.889+00:00","statement":{"source":"cve-program","id":"CVE-2026-118662","aliases":[],"title":"Vite: `server.fs.deny` bypassed with queries","description":"Vite is a frontend tooling framework for JavaScript. From 6.4.4 until 6.4.5, the Vite development server can evaluate server.fs.deny before stripping loader query parameters such as ?raw, ?import&raw, or ?import&url&inline. When the development server is exposed to the network and a sensitive file is inside server.fs.allow but matched by server.fs.deny, an unauthenticated attacker can append one of these queries and retrieve the denied file. This issue is fixed in version 6.4.5.","state":0,"publishedAt":"2026-10-28T20:33:36.44+00:00","modifiedAt":"2026-11-02T23:57:05.251+00:00","affected":[{"ecosystem":"Vendor product","name":"vite","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"vitejs\",\n                    \"product\": \"vite\",\n                    \"versions\": [\n                        {\n                            \"version\": \">= 6.4.4, < 6.4.5\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:H/SI:N/SA:N","score":6.9,"severity":"MEDIUM"}],"references":["https://github.com/vitejs/vite/security/advisories/GHSA-8g5g-mxqh-grgj","https://github.com/vitejs/vite/pull/22160","https://github.com/vitejs/vite/pull/23855","https://github.com/vitejs/vite/commit/91e40d7bf9777057bbd31c3eb036a54c9465697e","https://github.com/vitejs/vite/releases/tag/v6.4.5"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-118662","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-118662","identifiers":["CVE-2026-118662"]},"retained":false,"historicalAffected":[]},{"revision":"57b31ce9f97e4c20b8168d727ee536a6","observedAt":"2026-11-06T19:05:51.771+00:00","statement":{"source":"euvd","id":"EUVD-2026-112469","aliases":["CVE-2026-118662","GHSA-8g5g-mxqh-grgj"],"title":"Vite is a frontend tooling framework for JavaScript. From 6.4.4 until 6.4.5, the Vite development server can evaluate server.fs.deny before stripping loader query parameters such as ?raw, ?import&raw, or ?import&url&inline. When the develop…","description":"Vite is a frontend tooling framework for JavaScript. From 6.4.4 until 6.4.5, the Vite development server can evaluate server.fs.deny before stripping loader query parameters such as ?raw, ?import&raw, or ?import&url&inline. When the development server is exposed to the network and a sensitive file is inside server.fs.allow but matched by server.fs.deny, an unauthenticated attacker can append one of these queries and retrieve the denied file. This issue is fixed in version 6.4.5.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:H/SI:N/SA:N","score":6.9,"severity":null}],"references":["https://github.com/vitejs/vite/security/advisories/GHSA-8g5g-mxqh-grgj","https://github.com/vitejs/vite/pull/22160","https://github.com/vitejs/vite/pull/23855","https://github.com/vitejs/vite/commit/91e40d7bf9777057bbd31c3eb036a54c9465697e","https://github.com/vitejs/vite/releases/tag/v6.4.5"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-112469","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Oct 28, 2026, 8:33:36 PM","dateUpdated":"Nov 2, 2026, 11:57:05 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-2026-112469","identifiers":["EUVD-2026-112469","CVE-2026-118662","GHSA-8g5g-mxqh-grgj"]},"retained":false,"historicalAffected":[]},{"revision":"590de280127543478dc22fc3777ed315","observedAt":"2026-11-04T19:04:15.194+00:00","statement":{"source":"nvd","id":"CVE-2026-118662","aliases":[],"title":"Vite is a frontend tooling framework for JavaScript. From 6.4.4 until 6.4.5, the Vite development server can evaluate server.fs.deny before stripping loader query parameters such as ?raw, ?import&raw, or ?import&url&inline. When the develop…","description":"Vite is a frontend tooling framework for JavaScript. From 6.4.4 until 6.4.5, the Vite development server can evaluate server.fs.deny before stripping loader query parameters such as ?raw, ?import&raw, or ?import&url&inline. When the development server is exposed to the network and a sensitive file is inside server.fs.allow but matched by server.fs.deny, an unauthenticated attacker can append one of these queries and retrieve the denied file. This issue is fixed in version 6.4.5.","state":0,"publishedAt":"2026-10-28T21:16:56.403+00:00","modifiedAt":"2026-11-03T00:17:17.343+00:00","affected":[],"metrics":[{"system":"CVSS 4.0 · security-advisories@github.com · Secondary","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:H/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","score":6.9,"severity":"MEDIUM"}],"references":["https://github.com/vitejs/vite/commit/91e40d7bf9777057bbd31c3eb036a54c9465697e","https://github.com/vitejs/vite/pull/22160","https://github.com/vitejs/vite/pull/23855","https://github.com/vitejs/vite/releases/tag/v6.4.5","https://github.com/vitejs/vite/security/advisories/GHSA-8g5g-mxqh-grgj"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-118662","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Awaiting Analysis","weaknesses":["CWE-180","CWE-284"],"productCriteria":[],"sourceDates":{"published":"2026-10-28T21:16:56.403","lastModified":"2026-11-03T00:17:17.343"},"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-2026-118662","identifiers":["CVE-2026-118662"]},"retained":false,"historicalAffected":[]},{"revision":"287dd88e33db4657b9d9c04a549e8a2b","observedAt":"2026-10-29T17:12:42.182+00:00","statement":{"source":"osv","id":"GHSA-8g5g-mxqh-grgj","aliases":["CVE-2026-118662"],"title":"Vite: `server.fs.deny` bypassed with queries","description":"### Summary\n\nThe contents of files that are specified by [`server.fs.deny`](https://vite.dev/config/server-options#server-fs-deny) can be returned to the browser. This is the same as https://github.com/vitejs/vite/security/advisories/GHSA-v2wj-q39q-566r.\n\n### Impact\n\nOnly apps that match the following conditions are affected:\n\n- explicitly exposes the Vite dev server to the network (using `--host` or [`server.host` config option](https://vitejs.dev/config/server-options.html#server-host))\n- the sensitive file exists in the allowed directories specified by [`server.fs.allow`](https://vite.dev/config/server-options#server-fs-allow)\n- the sensitive file is denied with a pattern that matches a file by [`server.fs.deny`](https://vite.dev/config/server-options#server-fs-deny)\n\n### Details\n\nOn the Vite dev server, files that should be blocked by `server.fs.deny` (e.g., `.env`, `*.crt`) can be retrieved with HTTP 200 responses when query parameters such as `?raw`, `?import&raw`, or `?import&url&inline` are appended.\n\nFor the fix for https://github.com/vitejs/vite/security/advisories/GHSA-rq7h-c2jc-7f22, v6.4.4 back-ported https://github.com/vitejs/vite/pull/20410. But while that PR requires https://github.com/vitejs/vite/pull/22160 for https://github.com/vitejs/vite/security/advisories/GHSA-v2wj-q39q-566r, https://github.com/vitejs/vite/pull/22160 wasn't back-ported together causing v6 vulnerable to https://github.com/vitejs/vite/security/advisories/GHSA-v2wj-q39q-566r.","state":0,"publishedAt":"2026-10-29T16:39:56+00:00","modifiedAt":"2026-10-29T16:45:04.3625751+00:00","affected":[{"ecosystem":"npm","name":"vite","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"6.4.4"},{"kind":"fixed","version":"6.4.5"}]}],"versions":["6.4.4"],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:H/SI:N/SA:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/vitejs/vite/security/advisories/GHSA-8g5g-mxqh-grgj","https://nvd.nist.gov/vuln/detail/CVE-2026-118662","https://github.com/vitejs/vite/pull/22160","https://github.com/vitejs/vite/pull/23855","https://github.com/vitejs/vite/commit/91e40d7bf9777057bbd31c3eb036a54c9465697e","https://github.com/vitejs/vite","https://github.com/vitejs/vite/releases/tag/v6.4.5"],"sourceUrl":"https://github.com/advisories/GHSA-8g5g-mxqh-grgj","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-8g5g-mxqh-grgj","identifiers":["GHSA-8g5g-mxqh-grgj","CVE-2026-118662"]},"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-07T06:27:05.6380447+00:00","complete":true,"records":1769,"lastAttemptAt":"2026-11-07T06:27:05.6380447+00:00","lastSuccessAt":"2026-11-07T06:27:05.7932457+00:00","error":null,"lastVerifiedAt":"2026-11-07T06:27:05.7932469+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-bb5c9d5a08063ef076042e33dd72a7d0ffa4c4487efdcf3106e29ba55ec2ad57-6f544c2f3953f500ddb5b39526af1c06f4dafd806ddc7bf6476fb6444529ee07","complete":true,"records":420723,"lastAttemptAt":"2026-11-07T06:27:04.4118644+00:00","lastSuccessAt":"2026-11-07T06:27:04.3307229+00:00","error":null,"lastVerifiedAt":"2026-11-07T06:27:04.4118644+00:00","snapshotPublishedAt":"2026-11-07T05:27:23+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-f3bff9471edc48448e31845a67a4407b","complete":true,"records":13630,"lastAttemptAt":"2026-11-07T06:38:40.0754161+00:00","lastSuccessAt":"2026-11-07T06:38:40.073+00:00","error":null,"lastVerifiedAt":"2026-11-07T06:38:40.073+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13685,"expectedIdentifiers":13685,"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-07T06:27:05.6380447+00:00","complete":true,"records":1096,"lastAttemptAt":"2026-11-07T06:27:05.6380447+00:00","lastSuccessAt":"2026-11-07T06:27:05.7940505+00:00","error":null,"lastVerifiedAt":"2026-11-07T06:27:05.7940508+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-1262a9fa83024e28a1560dfc0c9cdf3c","complete":true,"records":13645,"lastAttemptAt":"2026-11-07T06:27:08.5367847+00:00","lastSuccessAt":"2026-11-07T06:27:08.533+00:00","error":null,"lastVerifiedAt":"2026-11-07T06:27:08.533+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13685,"expectedIdentifiers":13685,"failedIdentifiers":0},{"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-0eb4d6dde62dffacd040ad992d4fd5a65cd7d0dc5f5f4cfa8b41967fc6f9ca5f","complete":true,"records":9914,"lastAttemptAt":"2026-11-07T06:27:05.1996809+00:00","lastSuccessAt":"2026-11-06T20:10:36.6450506+00:00","error":null,"lastVerifiedAt":"2026-11-07T06:27:05.1996809+00:00","snapshotPublishedAt":"2026-11-06T20:02: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-fde804134ecdda0ddd5ff5c26ee1fff5a6fa659311f7ef2e51c6ad54964db0e2","complete":true,"records":1971,"lastAttemptAt":"2026-11-07T06:27:04.6304807+00:00","lastSuccessAt":"2026-11-06T19:03:17.0399903+00:00","error":null,"lastVerifiedAt":"2026-11-07T06:27:04.6304807+00:00","snapshotPublishedAt":"2026-11-06T18:17:57+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-335633e78a15c9cde10a6025895b5617717087fb945489ae7e15d377bacf34a9","complete":true,"records":3055,"lastAttemptAt":"2026-11-07T06:27:05.5809672+00:00","lastSuccessAt":"2026-11-06T16:03:00.7615789+00:00","error":null,"lastVerifiedAt":"2026-11-07T06:27:05.5809672+00:00","snapshotPublishedAt":"2026-11-06T16:02:48+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-a0b728bc1c5526b5429930c00621636eba8655069c176697c3080f8377619ad7","complete":true,"records":231291,"lastAttemptAt":"2026-11-07T06:27:05.0945652+00:00","lastSuccessAt":"2026-11-07T00:28:51.1983528+00:00","error":null,"lastVerifiedAt":"2026-11-07T06:27:05.0945652+00:00","snapshotPublishedAt":"2026-11-06T23:33:08+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}