CVSS 4.0
2.3 lowCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:NLow (2.3) in vitejs vite. EPSS 1.3% estimated probability of exploitation activity in the next 30 days. Fixed in vite 5.4.20, 6.3.6, 7.0.7.
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:NCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:Nvite (npm): fixed in 7.1.5, 7.0.7, 6.3.6, 5.4.20Explain CVE-2025-58751 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-58751?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-58751?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-2025-58751 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 NVD's CPE matches.
| Product | Affected |
|---|---|
| vitejs:vite | before 5.4.20 |
| vitejs:vite | from 6.0.0 before 6.3.6 |
| vitejs:vite | from 7.0.0 before 7.0.7 |
| vitejs:vite | from 7.1.0 before 7.1.5 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-g4jq-h2w9-997c | npm | vite | >=7.1.0 <7.1.5 | 7.1.5 |
| GHSA-g4jq-h2w9-997c | npm | vite | >=7.0.0 <7.0.7 | 7.0.7 |
| GHSA-g4jq-h2w9-997c | npm | vite | >=6.0.0 <6.3.6 | 6.3.6 |
| GHSA-g4jq-h2w9-997c | npm | vite | <5.4.20 | 5.4.20 |
Red Hat rates this Low.
Red Hat Customers should be aware that the underlying vulnerability originates in the sirv package, which is responsible for serving static files. Vite uses sirv internally to serve content during development, which means projects using Vite were also exposed to the issue. While sirv is technically the component containing the flaw, the upstream Vite project issued the CVE/advisory because the impact was most visible and widespread through Vite’s ecosystem. In practice, this means that both direct consumers of sirv and Vite users are affected, but the CVE was filed under Vite Project by it's maintainers.
This vulnerability is rated Low severity because exploitation requires several specific conditions: the Vite dev server must be exposed to the network (via --host or server.host), the application must use the public directory feature, and a symlink must exist inside that public directory to point to the target. These conditions make exploitation unlikely in typical production environments, and the impact is limited to disclosure of files outside the intended directory. The vulnerability does not permit code execution, file modification, or denial of service.
* Avoid exposing the Vite dev server (--host / server.host) to untrusted networks.
* Do not allow symlinks inside the public directory that reference files outside of it.
| Product | Package | State | Advisory |
|---|---|---|---|
| Cryostat 4 | io.cryostat-cryostat | Fix deferred | |
| Gatekeeper 3 | gatekeeper/gatekeeper-rhel9 | Fix deferred | |
| Migration Toolkit for Virtualization | migration-toolkit-virtualization/mtv-console-plugin-rhel9 | Fix deferred | |
| Migration Toolkit for Virtualization | mtv-candidate/mtv-console-plugin-rhel9 | Fix deferred | |
| Multicluster Engine for Kubernetes | multicluster-engine/console-mce-rhel9 | Fix deferred | |
| Multicluster Global Hub | multicluster-globalhub/multicluster-globalhub-grafana-rhel9 | Fix deferred | |
| OpenShift Service Mesh 3 | openshift-service-mesh/istio-cni-rhel9 | Fix deferred | |
| OpenShift Service Mesh 3 | openshift-service-mesh/istio-must-gather-rhel9 | Fix deferred | |
| OpenShift Service Mesh 3 | openshift-service-mesh/istio-pilot-rhel9 | Fix deferred | |
| OpenShift Service Mesh 3 | openshift-service-mesh/istio-proxyv2-rhel9 | Fix deferred | |
| OpenShift Service Mesh 3 | openshift-service-mesh/istio-rhel9-operator | Fix deferred | |
| OpenShift Service Mesh 3 | openshift-service-mesh/istio-sail-operator-bundle | Fix deferred | |
| OpenShift Service Mesh 3 | openshift-service-mesh-tech-preview/istio-ztunnel-rhel9 | Fix deferred | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/acm-grafana-rhel9 | Fix deferred | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/console-rhel9 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | automation-controller | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | automation-eda-controller | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | automation-gateway | Fix deferred | |
| Red Hat build of Apicurio Registry 2 | io.apicurio-apicurio-registry | Fix deferred | |
| Red Hat Data Grid 8 | org.infinispan-infinispan-console | Fix deferred | |
| 33 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-2025-58751.
| Advisory | Title | Published | Sectors | Affected | Fixed |
|---|---|---|---|---|---|
| ICSA-26-071-03 | Siemens SIDIS Prime | 2026-03-10 | Critical Manufacturing | SIDIS Prime | none listed |
From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.
Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.
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), CWE-200 (59).