CVE-2026-112946 Vite: Files outside `server.fs.allow` could be served when project paths match system paths on non-Windows machine
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- UbuntuRed Hat
Description
Vite is a frontend tooling framework for JavaScript. Prior to 6.4.4, 7.3.7, 8.1.6, 8.2.4, and 8.3.3, import analysis can record a root-relative browser URL in safeModulePaths instead of the cleaned resolved module identifier. On a network-accessible, non-Windows development server, an imported project file whose URL matches an absolute host path can authorize a later raw-filesystem request for that host file, provided server.fs.deny does not block it. The request can disclose the matching file outside the project root, but it does not allow arbitrary path traversal because the host path must correspond to a project-relative URL authorized by the application graph. This issue is fixed in versions 6.4.4, 7.3.7, 8.1.6, 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) | < 6.4.4; <= 6.4.3; >= 7.0.0, < 7.3.7; >= 7.0.0, <= 7.3.6 +6 more | 6.4.4, 7.3.7, 8.1.6, 8.2.4, 8.3.3 | Fixed |
| npm vite-plus(npm) | < 1.1.0; <= 1.0.0 | 1.1.0 | Fixed |
| vitejs vite | = < 6.4.4; = >= 7.0.0, < 7.3.7; = >= 8.0.0, < 8.1.6; = >= 8.2.0, < 8.2.4 +1 more | No fix listed | Versions listed |
| vitejs vite-plus | = < 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 | = >= 8.0.0, < 8.1.6 | No fix listed |
| vitejs vite | = >= 7.0.0, < 7.3.7 | No fix listed |
| vitejs vite | = < 6.4.4 | No fix listed |
| vitejs vite-plus | = < 1.1.0 | No fix listed |
Show 16 more
| Product | Affected versions | Fixed in |
|---|---|---|
| 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(npm) | >= 8.0.0, <= 8.1.5 | No fix listed |
| npm vite(npm) | >= 7.0.0, <= 7.3.6 | No fix listed |
| npm vite(npm) | <= 6.4.3 | No fix listed |
| npm vite-plus(npm) | <= 1.0.0 | No fix listed |
| 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(npm) | >= 8.0.0, < 8.1.6 | 8.1.6 |
| npm vite(npm) | >= 7.0.0, < 7.3.7 | 7.3.7 |
| npm vite(npm) | < 6.4.4 | 6.4.4 |
| npm vite-plus(npm) | < 1.1.0 | 1.1.0 |
References
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2556251 issue-tracking
- www.cve.org
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/vitejs/vite/commit/170b92791421bcd484f7325936d989a82d6bd4aa patch
- https://github.com/vitejs/vite/commit/45c0e3392a298626955a0ab93a8e51232daac721 patch
- https://github.com/vitejs/vite/commit/c3e06f92e969952466b4e2f5801e85e1e00cd905 patch
- https://github.com/vitejs/vite/commit/e570d8d016096b5f8f6f09808376ca6cf73f27d0 patch
- https://github.com/vitejs/vite/commit/f0d76c7da13d5e794807b82f0b86c1931a8438e3 patch
- https://github.com/vitejs/vite/pull/23656 patch
- https://github.com/vitejs/vite/security/advisories/GHSA-rq7h-c2jc-7f22 exploit vendor-advisory
- github.com
- Ubuntu CVE tracker vendor-advisory
- github.com product
- ENISA EUVD EUVD-2026-105128 third-party-advisory