CVE-2026-112947

Source
https://cve.org/CVERecord?id=CVE-2026-112947
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-112947.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-112947
Aliases
Published
2026-10-20T15:10:51Z
Modified
2026-10-21T02:55:52Z
Severity
  • 6.3 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
Vite: First 4 bytes of files outside of `server.fs` setting is exposed by `?vite-wasm-instance`
Details

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.

Database specific
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-200",
        "CWE-209",
        "CWE-22"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/112xxx/CVE-2026-112947.json"
}
References

Affected packages

Git / github.com/vitejs/vite

Affected ranges

Type
GIT
Repo
https://github.com/vitejs/vite
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "8.3.0"
                },
                {
                    "fixed":  "8.3.3"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StringRangeExpression"
        },
        {
            "range":  [
                {
                    "introduced":  "8.2.0"
                },
                {
                    "fixed":  "8.2.4"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StringRangeExpression"
        },
        {
            "range":  [
                {
                    "introduced":  "0.2.8"
                },
                {
                    "fixed":  "1.1.0"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StringRangeExpression"
        },
        {
            "range":  [
                {
                    "fixed":  "b6c6d2fb3f853aab4092dc25f0d6816a96c23dff"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "range":  [
                {
                    "fixed":  "ba8b7ab43b4afa5d0292ab4b6e3a7b5033cc9c73"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

create-app@1.*
create-app@1.0.0
create-app@1.0.1
create-app@1.0.2
create-app@1.0.3
create-app@1.0.4
create-app@1.0.5
create-app@1.0.6
create-app@1.1.0
create-vite@9.*
create-vite@9.1.2
create-vite@9.2.1
plugin-legacy@1.*
plugin-legacy@1.0.0
plugin-legacy@1.0.1
plugin-legacy@1.1.0
plugin-legacy@1.1.1
plugin-legacy@1.2.0
plugin-legacy@1.2.1
plugin-legacy@8.*
plugin-legacy@8.2.3
plugin-react-refresh@1.*
plugin-react-refresh@1.1.0
plugin-react-refresh@1.1.1
plugin-vue-jsx@1.*
plugin-vue-jsx@1.0.0
plugin-vue-jsx@1.0.1
plugin-vue-jsx@1.0.2
plugin-vue@1.*
plugin-vue@1.0.3
plugin-vue@1.0.4
plugin-vue@1.0.5
plugin-vue@1.0.6
v1.*
v1.0.0-rc.10
v1.0.0-rc.11
v1.0.0-rc.13
v1.0.0-rc.5
v1.0.0-rc.6
v1.0.0-rc.7
v1.0.0-rc.8
v1.0.0-rc.9
v2.*
v2.0.0-alpha.1
v2.0.0-alpha.2
v2.0.0-alpha.3
v2.0.0-alpha.4
v2.0.0-alpha.5
v2.0.0-beta.1
v2.0.0-beta.10
v2.0.0-beta.11
v2.0.0-beta.12
v2.0.0-beta.13
v2.0.0-beta.14
v2.0.0-beta.15
v2.0.0-beta.16
v2.0.0-beta.17
v2.0.0-beta.18
v2.0.0-beta.19
v2.0.0-beta.2
v2.0.0-beta.20
v2.0.0-beta.21
v2.0.0-beta.22
v2.0.0-beta.23
v2.0.0-beta.24
v2.0.0-beta.25
v2.0.0-beta.26
v2.0.0-beta.27
v2.0.0-beta.28
v2.0.0-beta.29
v2.0.0-beta.3
v2.0.0-beta.30
v2.0.0-beta.31
v2.0.0-beta.4
v2.0.0-beta.5
v2.0.0-beta.6
v2.0.0-beta.7
v2.0.0-beta.8
v2.0.0-beta.9
v8.*
v8.2.0
v8.2.1
v8.2.2
v8.3.0
v8.3.1
v8.3.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-112947.json"