CVE-2026-112947 Vite: First 4 bytes of files outside of `server.fs` setting is exposed by `?vite-wasm-instance`
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuRed Hat
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.
Upgrade path
24 packages: 2 fixed, 20 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat/amq-broker-bin.zip(Red Hat amq_broker 7) | All versions | No fix listed | No fix yet |
| redhat/amq-broker-maven-repository.zip(Red Hat amq_broker 7) | All versions | No fix listed | No fix yet |
| redhat/ansible-automation-platform-26/gateway-rhel9(Red Hat ansible_automation_platform 2) | All versions | No fix listed | No fix yet |
| redhat/ansible-automation-platform-27/gateway-rhel9(Red Hat ansible_automation_platform 2) | All versions | No fix listed | No fix yet |
| redhat/automation-platform-ui(Red Hat ansible_automation_platform 2) | All versions | No fix listed | No fix yet |
| redhat/devspaces/openvsx-rhel9(Red Hat openshift_devspaces 3) | All versions | No fix listed | No fix yet |
| redhat/jboss-eap-runtime-maven-repository.zip(Red Hat jboss_enterprise_application_platform 8) | All versions | No fix listed | No fix yet |
| redhat/jboss-eap-runtime-maven-repository.zip(Red Hat jbosseapxp) | All versions | No fix listed | No fix yet |
| redhat/jboss-eap.1-runtime-maven-repository.zip(Red Hat jboss_enterprise_application_platform 8) | All versions | No fix listed | No fix yet |
| redhat/jboss-eap.1-runtime-maven-repository.zip(Red Hat jbosseapxp) | All versions | No fix listed | No fix yet |
| redhat/keycloak-operator.redhat-00001.zip(Red Hat build_keycloak) | All versions | No fix listed | No fix yet |
| redhat/keycloak-operator.redhat-00003.zip(Red Hat build_keycloak) | All versions | No fix listed | No fix yet |
| redhat/rh-podman-desktop(Red Hat podman_desktop 1) | All versions | No fix listed | No fix yet |
| redhat/rhbk-quarkus-dist.zip(Red Hat build_keycloak) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-feature-server-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhtas/rhtas-console-ui-rhel9(Red Hat trusted_artifact_signer 1) | All versions | No fix listed | No fix yet |
| ubuntu/vite(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/vite(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/vite(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/vite(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| npm vite(npm) | >= 8.2.0, < 8.2.4; >= 8.2.0, <= 8.2.3; >= 8.3.0, < 8.3.3; >= 8.3.0, <= 8.3.2 | 8.2.4, 8.3.3 | Fixed |
| npm vite-plus(npm) | >= 0.2.8, < 1.1.0; >= 0.2.8, <= 1.0.0 | 1.1.0 | Fixed |
| vitejs vite | = >= 8.2.0, < 8.2.4; = >= 8.3.0, < 8.3.3 | No fix listed | Versions listed |
| vitejs vite-plus | = >= 0.2.8, < 1.1.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat/amq-broker-bin.zip(Red Hat:amq_broker:7) | All versions | No fix listed |
| redhat/amq-broker-maven-repository.zip(Red Hat:amq_broker:7) | All versions | No fix listed |
| redhat/ansible-automation-platform-26/gateway-rhel9(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| redhat/ansible-automation-platform-27/gateway-rhel9(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| redhat/automation-controller(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| redhat/automation-eda-controller(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| redhat/automation-gateway(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| redhat/automation-platform-ui(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| redhat/keycloak-operator.redhat-00001.zip(Red Hat:build_keycloak:) | All versions | No fix listed |
| redhat/keycloak-operator.redhat-00003.zip(Red Hat:build_keycloak:) | All versions | No fix listed |
| redhat/rhbk-quarkus-dist.zip(Red Hat:build_keycloak:) | All versions | No fix listed |
| redhat/rh-podman-desktop(Red Hat:podman_desktop:1) | All versions | No fix listed |
| redhat/jboss-eap.1-runtime-maven-repository.zip(Red Hat:jboss_enterprise_application_platform:8) | All versions | No fix listed |
| redhat/jboss-eap-runtime-maven-repository.zip(Red Hat:jboss_enterprise_application_platform:8) | All versions | No fix listed |
| redhat/jboss-eap.1-runtime-maven-repository.zip(Red Hat:jbosseapxp) | All versions | No fix listed |
| redhat/jboss-eap-runtime-maven-repository.zip(Red Hat:jbosseapxp) | All versions | No fix listed |
| redhat/rhoai/odh-feature-server-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/devspaces/openvsx-rhel9(Red Hat:openshift_devspaces:3) | All versions | No fix listed |
| redhat/rhtas/rhtas-console-ui-rhel9(Red Hat:trusted_artifact_signer:1) | All versions | No fix listed |
| vitejs vite | = >= 8.3.0, < 8.3.3 | No fix listed |
| vitejs vite | = >= 8.2.0, < 8.2.4 | No fix listed |
| vitejs vite-plus | = >= 0.2.8, < 1.1.0 | No fix listed |
| npm vite(npm) | >= 8.3.0, <= 8.3.2 | No fix listed |
| npm vite(npm) | >= 8.2.0, <= 8.2.3 | No fix listed |
| npm vite-plus(npm) | >= 0.2.8, <= 1.0.0 | No fix listed |
Show 7 more
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/vite(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/vite(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/vite(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/vite(Ubuntu:26.10) | All versions | No fix listed |
| npm vite(npm) | >= 8.3.0, < 8.3.3 | 8.3.3 |
| npm vite(npm) | >= 8.2.0, < 8.2.4 | 8.2.4 |
| npm vite-plus(npm) | >= 0.2.8, < 1.1.0 | 1.1.0 |
References
- Red Hat CVE page vendor-advisory
- Red Hat Bugzilla 2556254 issue-tracking
- www.cve.org
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/vitejs/vite/commit/b6c6d2fb3f853aab4092dc25f0d6816a96c23dff patch
- https://github.com/vitejs/vite/commit/ba8b7ab43b4afa5d0292ab4b6e3a7b5033cc9c73 patch
- https://github.com/vitejs/vite/pull/23655 patch
- https://github.com/vitejs/vite/security/advisories/GHSA-vfpm-58rq-9qcg vendor-advisory
- github.com
- Ubuntu CVE tracker vendor-advisory
- github.com product
- ENISA EUVD EUVD-2026-105135 third-party-advisory