{"schemaVersion":4,"id":"CVE-2026-112947","aliases":["GHSA-vfpm-58rq-9qcg","CGA-496f-4vmp-xf57","CGA-gffw-jv36-5x9j","CGA-p8g3-wj2x-hj4h","CGA-45v8-73hh-6562","CGA-4hj9-66q6-xrc4","CGA-5jf5-j77x-5cm6","CGA-m7p5-mfcq-m2x5","CGA-qgj2-mj2j-4x53","UBUNTU-CVE-2026-112947"],"status":"published","duplicateOf":null,"title":"Vite: First 4 bytes of files outside of `server.fs` setting is exposed by `?vite-wasm-instance`","description":"Vite is a frontend tooling framework for JavaScript. From 8.2.0 until 8.2.4 and 8.3.3, the first 4 bytes of files outside of server.fs setting can be returned to the browser by a request containing ?vite-wasm-instance. Requests containing the ?vite-wasm-instance query are handled by the internal Wasm plugin's load hook. The hook removes the query and reads the resulting path directly from disk, but the server.fs checks were not applied. After reading the file, Vite attempts to parse it as WebAssembly. When that parse fails, Node and deno throws an error that contains the first 4 bytes of the file. This vulnerability is fixed in 8.2.4 and 8.3.3.","dates":{"published":"2026-10-20T15:10:51.025Z","modified":"2026-10-21T15:54:49.530Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.3,"severity":"medium","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":6.3,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":6.3,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/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","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Npm","score":6.3,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Chainguard","score":6.3,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":6.3,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true}]},"epss":{"probability":0.01199,"percentile":0.69175,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0.6970000000000001,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.00502},"history":[{"date":"2026-10-21T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.00422,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.00502,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.00502,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.00502,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.00502,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.00502,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.00502,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.00502,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.00502,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.00502,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.00502,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.00502,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00502,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00502,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00502,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00502,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00502,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00502,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00502,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00502,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00502,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00502,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00502,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00502,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00502,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00502,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00502,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00502,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00502,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00502,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00502,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.01199,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.01315,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.01315,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.01315,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.01315,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.01315,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.01315,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.01199,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.01199,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.01199,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.01199,"percentile":0.69175}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.00502,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00502,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00502,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00502,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00502,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00502,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00502,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00502,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00502,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00502,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00502,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00502,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00502,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00502,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00502,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00502,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00502,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00502,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00502,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00502,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.01199,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.01315,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.01315,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.01315,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.01315,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.01315,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.01315,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.01199,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.01199,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.01199,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.01199,"percentile":0.69175}]},"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":[],"exploitCount":0,"weaknesses":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/22.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-209","name":"Generation of Error Message Containing Sensitive Information","description":"The product generates an error message that includes sensitive information about its environment, users, or associated data.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/209.html"}],"affected":[{"vendor":"chainguard","product":"gitlab-rails-ce-18.11","name":"gitlab-rails-ce-18.11","label":"gitlab-rails-ce-18.11","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/gitlab-rails-ce-18.11","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}},{"text":"< 18.11.13-r0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"18.11.13-r0","endInclusive":false}}],"versionsText":"All versions (No fix recorded) | < 18.11.13-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"gitlab-rails-ce-19.0","name":"gitlab-rails-ce-19.0","label":"gitlab-rails-ce-19.0","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/gitlab-rails-ce-19.0","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}},{"text":"< 19.0.10-r0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"19.0.10-r0","endInclusive":false}}],"versionsText":"All versions (No fix recorded) | < 19.0.10-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"gitlab-rails-ce-19.1","name":"gitlab-rails-ce-19.1","label":"gitlab-rails-ce-19.1","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/gitlab-rails-ce-19.1","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"vite","name":"vite","label":"vite","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/vite","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"Npm","product":"vite","name":"vite","label":"vite","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/vite","purlType":"npm","versions":[{"text":"≥ 8.3.0, < 8.3.3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"8.3.0","startInclusive":true,"end":"8.3.3","endInclusive":false}},{"text":"≥ 8.2.0, < 8.2.4","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"8.2.0","startInclusive":true,"end":"8.2.4","endInclusive":false}}],"versionsText":"≥ 8.3.0, < 8.3.3 | ≥ 8.2.0, < 8.2.4","eol":null,"hubHref":null},{"vendor":"Npm","product":"vite-plus","name":"vite-plus","label":"vite-plus","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/vite-plus","purlType":"npm","versions":[{"text":"≥ 0.2.8, < 1.1.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"0.2.8","startInclusive":true,"end":"1.1.0","endInclusive":false}}],"versionsText":"≥ 0.2.8, < 1.1.0","eol":null,"hubHref":null},{"vendor":"vitejs","product":"vite","name":"vite","label":"vite","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 8.3.0, < 8.3.3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"8.3.0","startInclusive":true,"end":"8.3.3","endInclusive":false}},{"text":"≥ 8.2.0, < 8.2.4","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"8.2.0","startInclusive":true,"end":"8.2.4","endInclusive":false}}],"versionsText":"≥ 8.3.0, < 8.3.3 | ≥ 8.2.0, < 8.2.4","eol":null,"hubHref":"/vendor/vitejs/vite"},{"vendor":"vitejs","product":"vite-plus","name":"vite-plus","label":"vite-plus","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 0.2.8, < 1.1.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"0.2.8","startInclusive":true,"end":"1.1.0","endInclusive":false}}],"versionsText":"≥ 0.2.8, < 1.1.0","eol":null,"hubHref":"/vendor/vitejs/vite-plus"}],"affectedCount":8,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/vitejs/vite/security/advisories/GHSA-vfpm-58rq-9qcg","label":"github.com/vitejs/vite/security/advisories/GHSA-vfpm-58rq-9qcg","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Advisory"]},{"url":"https://github.com/vitejs/vite/pull/23655","label":"github.com/vitejs/vite/pull/23655","hostname":"github.com","tags":["X Refsource MISC","WEB","FIX","REPORT"]},{"url":"https://github.com/vitejs/vite/commit/b6c6d2fb3f853aab4092dc25f0d6816a96c23dff","label":"github.com/vitejs/vite/commit/b6c6d2fb3f853aab4092dc25f0d6816a96c23dff","hostname":"github.com","tags":["X Refsource MISC","WEB","FIX","REPORT"]},{"url":"https://github.com/vitejs/vite/commit/ba8b7ab43b4afa5d0292ab4b6e3a7b5033cc9c73","label":"github.com/vitejs/vite/commit/ba8b7ab43b4afa5d0292ab4b6e3a7b5033cc9c73","hostname":"github.com","tags":["X Refsource MISC","WEB","FIX","REPORT"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112947","label":"nvd.nist.gov/vuln/detail/CVE-2026-112947","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/vitejs/vite","label":"github.com/vitejs/vite","hostname":"github.com","tags":["PACKAGE","REPORT"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/112xxx/CVE-2026-112947.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2026/112xxx/CVE-2026-112947.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-112947","label":"ubuntu.com/security/CVE-2026-112947","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-112947","label":"www.cve.org/CVERecord?id=CVE-2026-112947","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://github.com/cveproject/cvelistv5/tree/main/cves/2026/112xxx/cve-2026-112947.json","label":"github.com/cveproject/cvelistv5/tree/main/cves/2026/112xxx/cve-2026-112947.json","hostname":"github.com","tags":["REPORT"]},{"url":"https://github.com/vitejs/vite/security/advisories/ghsa-vfpm-58rq-9qcg","label":"github.com/vitejs/vite/security/advisories/ghsa-vfpm-58rq-9qcg","hostname":"github.com","tags":["REPORT"]},{"url":"https://nvd.nist.gov/vuln/detail/cve-2026-112947","label":"nvd.nist.gov/vuln/detail/cve-2026-112947","hostname":"nvd.nist.gov","tags":["REPORT"]},{"url":"https://advisory.echohq.com/cve/cve-2026-112947","label":"advisory.echohq.com/cve/cve-2026-112947","hostname":"advisory.echohq.com","tags":["REPORT"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-10-20T15:10:51.025Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-10-21T15:54:49.530Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 6.3, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,1,63],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.01199,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-10-21T15:54:49.530Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","version":"4.0","headline":true},{"type":"cvss","source":"nvd","date":"2026-10-21T15:54:49.530Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/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","version":"4.0"},{"type":"cvss","source":"osv_npm","date":"2026-10-21T15:54:49.530Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","version":"4.0"},{"type":"cvss","source":"osv_chainguard","date":"2026-10-21T15:54:49.530Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","version":"4.0"},{"type":"cvss","source":"osv_ubuntu","date":"2026-10-21T15:54:49.530Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","version":"4.0"},{"type":"adp","source":"cisa-adp","date":"2026-10-21T14:24:23.584Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.01199,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T08:03:29.184Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T08:03:29.748Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T08:03:29.946Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T08:01:00.622Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T08:03:27.537Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T08:03:26.585Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T08:18:20.011Z","stale":false,"partial":false}}