CVSS 4.0
6.3 mediumCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:NMedium (6.3) in vitejs. EPSS 0.9% estimated probability of exploitation activity in the next 30 days. Fixed in vite 6.4.4, 7.3.7, 8.1.6.
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:Nvite (npm): fixed in 8.3.3, 8.2.4, 8.1.6, 7.3.7, 6.4.4vite-plus (npm): fixed in 1.1.0Explain CVE-2026-112946 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-112946?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-112946?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-112946 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.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| vitejs vite | >= 8.3.0, < 8.3.3 |
| vitejs vite | >= 8.2.0, < 8.2.4 |
| vitejs vite | >= 8.0.0, < 8.1.6 |
| vitejs vite | >= 7.0.0, < 7.3.7 |
| vitejs vite | < 6.4.4 |
| vitejs vite-plus | < 1.1.0 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-rq7h-c2jc-7f22 | npm | vite | >=8.3.0 <8.3.3 | 8.3.3 |
| GHSA-rq7h-c2jc-7f22 | npm | vite | >=8.2.0 <8.2.4 | 8.2.4 |
| GHSA-rq7h-c2jc-7f22 | npm | vite | >=8.0.0 <8.1.6 | 8.1.6 |
| GHSA-rq7h-c2jc-7f22 | npm | vite | >=7.0.0 <7.3.7 | 7.3.7 |
| GHSA-rq7h-c2jc-7f22 | npm | vite | <6.4.4 | 6.4.4 |
| GHSA-rq7h-c2jc-7f22 | npm | vite-plus | <1.1.0 | 1.1.0 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Ubuntu | 16.04:LTS, 18.04:LTS, 20.04:LTS and 4 more | vite | no fix listed | UBUNTU-CVE-2026-112946 |
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 rates this Low.
This vulnerability is rated with a Low severity because it solely affects the development server under non-default, highly specific conditions rather than production application deployments. In Red Hat products, Vite is primarily utilized as a build-time asset bundler where the development web server is not exposed over a network. Exploitation further requires that an imported project file path identically mirrors an existing host filesystem path, significantly restricting the scope and likelihood of unauthorized file access.
Avoid exposing the Vite development server to external networks and restrict access to sensitive host paths.
1. Bind the development server to localhost:
Ensure the Vite development server does not listen on public interfaces by omitting the `--host` CLI flag or setting the host explicitly in `vite.config.js`:
```javascript
export default {
server: {
host: '127.0.0.1'
}
};
```
2. Deny sensitive filesystem paths:
Configure `server.fs.deny` in `vite.config.js` to block requests for sensitive system files and directories:
```javascript
export default {
server: {
fs: {
deny: ['/etc/**', '/root/**', '/home/**']
}
}
};
```
3. Restrict network access via firewall:
If the server must run on a networked machine, restrict network access to the development port (default 5173):
```bash
firewall-cmd --permanent --remove-port=5173/tcp
firewall-cmd --reload
```
Caveats: Binding strictly to localhost prevents remote access to development previews. Restricting filesystem paths via `server.fs.deny` can block legitimate project dependencies if located in denied paths. Reloading the firewall configuration will momentarily interrupt active connections.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat AMQ Broker 7 | amq-broker-bin.zip | Fix deferred | |
| Red Hat AMQ Broker 7 | amq-broker-maven-repository.zip | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-26/gateway-rhel9 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-27/gateway-rhel9 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | automation-controller | Out of support scope | |
| Red Hat Ansible Automation Platform 2 | automation-eda-controller | Out of support scope | |
| Red Hat Ansible Automation Platform 2 | automation-gateway | Out of support scope | |
| Red Hat Ansible Automation Platform 2 | automation-platform-ui | Fix deferred | |
| Red Hat Build of Keycloak | keycloak-operator.redhat-00001.zip | Fix deferred | |
| Red Hat Build of Keycloak | keycloak-operator.redhat-00003.zip | Fix deferred | |
| Red Hat Build of Keycloak | rhbk-quarkus-dist.zip | Fix deferred | |
| Red Hat Build of Podman Desktop | rh-podman-desktop | Fix deferred | |
| Red Hat Hardened Images | grafana13.2 | Not affected | |
| Red Hat Hardened Images | prometheus3.13 | Not affected | |
| Red Hat JBoss Enterprise Application Platform 8 | jboss-eap.1-runtime-maven-repository.zip | Fix deferred | |
| Red Hat JBoss Enterprise Application Platform 8 | jboss-eap-runtime-maven-repository.zip | Fix deferred | |
| Red Hat JBoss Enterprise Application Platform Expansion Pack | jboss-eap.1-runtime-maven-repository.zip | Fix deferred | |
| Red Hat JBoss Enterprise Application Platform Expansion Pack | jboss-eap-runtime-maven-repository.zip | Fix deferred | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-feature-server-rhel9 | Fix deferred | |
| Red Hat OpenShift Dev Spaces | devspaces/openvsx-rhel9 | Fix 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-112946.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-284 (17).