cve.bz

CVE-2026-112947 vitejs: Path traversal

6.3 mediumEPSS 0.5%Fix available

Medium (6.3) in vitejs. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in vite 8.2.4, 8.3.3.

On this page
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.

Severity

CVSS 4.0

6.3 medium
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
EPSS
0.5% (unchanged from 0.5% a week ago) estimated probability of exploitation activity in the next 30 days; 44th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-10-21. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
CWE-209 Generation of Error Message Containing Sensitive Information
OWASP Top 10
A01:2025 Broken Access Control, A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

  • vite (npm): fixed in 8.3.3, 8.2.4
  • vite-plus (npm): fixed in 1.1.0

Ask an AI about this CVE

Show the promptExplain CVE-2026-112947 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-112947?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-112947?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-112947 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
vitejs vite>= 8.3.0, < 8.3.3
vitejs vite>= 8.2.0, < 8.2.4
vitejs vite-plus>= 0.2.8, < 1.1.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-vfpm-58rq-9qcgnpmvite>=8.3.0 <8.3.38.3.3
GHSA-vfpm-58rq-9qcgnpmvite>=8.2.0 <8.2.48.2.4
GHSA-vfpm-58rq-9qcgnpmvite-plus>=0.2.8 <1.1.01.1.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 4 moreviteno fix listedUBUNTU-CVE-2026-112947

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability is evaluated as Moderate severity because, although an unauthenticated remote attacker can probe files outside the designated server directory, the leakage is strictly limited to four bytes returned through failure diagnostics rather than allowing complete file exfiltration. In Red Hat products, Vite is primarily utilized as a build-time dependency and client-side tooling framework rather than an externally accessible standalone production web server. Standard deployments do not expose Vite development server instances to untrusted networks, substantially restricting real-world attack vectors.

ProductPackageStateAdvisory
Red Hat AMQ Broker 7amq-broker-bin.zipFix deferred
Red Hat AMQ Broker 7amq-broker-maven-repository.zipFix deferred
Red Hat Ansible Automation Platform 2ansible-automation-platform-26/gateway-rhel9Fix deferred
Red Hat Ansible Automation Platform 2ansible-automation-platform-27/gateway-rhel9Fix deferred
Red Hat Ansible Automation Platform 2automation-controllerOut of support scope
Red Hat Ansible Automation Platform 2automation-eda-controllerOut of support scope
Red Hat Ansible Automation Platform 2automation-gatewayOut of support scope
Red Hat Ansible Automation Platform 2automation-platform-uiFix deferred
Red Hat Build of Keycloakkeycloak-operator.redhat-00001.zipFix deferred
Red Hat Build of Keycloakkeycloak-operator.redhat-00003.zipFix deferred
Red Hat Build of Keycloakrhbk-quarkus-dist.zipFix deferred
Red Hat Build of Podman Desktoprh-podman-desktopFix deferred
Red Hat Hardened Imagesgrafana13.2Not affected
Red Hat Hardened Imagesprometheus3.13Not affected
Red Hat JBoss Enterprise Application Platform 8jboss-eap.1-runtime-maven-repository.zipFix deferred
Red Hat JBoss Enterprise Application Platform 8jboss-eap-runtime-maven-repository.zipFix deferred
Red Hat JBoss Enterprise Application Platform Expansion Packjboss-eap.1-runtime-maven-repository.zipFix deferred
Red Hat JBoss Enterprise Application Platform Expansion Packjboss-eap-runtime-maven-repository.zipFix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-feature-server-rhel9Fix deferred
Red Hat OpenShift Dev Spacesdevspaces/openvsx-rhel9Fix deferred
1 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-112947.

Attack patterns (CAPEC)

  • CAPEC-7 Blind SQL Injection Likelihood: High · Severity: High
  • CAPEC-54 Query System for Information Likelihood: High · Severity: Low
  • CAPEC-215 Fuzzing for application mapping Likelihood: High · Severity: Low
  • CAPEC-463 Padding Oracle Crypto Attack Severity: High
  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-200 (59).

References

Check your stackJSON