GHSA-4r4m-qw57-chr8 · Severity: medium · Ecosystem: npm — Vite has a `server.fs.deny` bypassed for `inline` and `raw` with `?import` query
Vite is a frontend tooling framework for javascript. Vite exposes content of non-allowed files using ?inline&import or ?raw?import. Only apps explicitly exposing the Vite dev server to the network (using --host or server.host config option) are affected. This vulnerability is fixed in 6.2.4, 6.1.3, 6.0.13, 5.4.16, and 4.5.11.
Conclusion & alert: CVE-2025-31125 is rated Active Exploitation (75.9/100): CVSS Medium severity, with high exploitation likelihood (EPSS 59.59%, 99th percentile). Core evidence: CISA KEV confirms active exploitation (added 2026-01-22) affecting Vite / Vitejs. a weakness (CWE-200) Unauthenticated remote administrative access may be possible. Mandatory action: The CISA remediation deadline has passed—treat as an emergency patch priority.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
: Vite Vitejs Improper Access Control Vulnerability · CISA KEV detail
: 2026-01-22
: 2026-02-12
: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 83.24% | 59.59% | -23.66% |
| 2 | 2026-05-24 | 84.26% | 83.24% | -1.01% |
| 3 | 2026-05-10 | — | 84.26% | — |
Full EPSS history (61 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 5.3 | 3.1 | MEDIUM |
|
1.6 | 3.6 | [email protected] |
| 7.5 | 3.1 | HIGH |
|
3.9 | 3.6 | [email protected] |
GHSA-4r4m-qw57-chr8 · Severity: medium · Ecosystem: npm — Vite has a `server.fs.deny` bypassed for `inline` and `raw` with `?import` query
| vendor | priority | summary | link |
|---|---|---|---|
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2025-31125 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| vitejs | vite | < 4.5.11 | cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:* |
| vitejs | vite | >= 5.0.0, < 5.4.16 | cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:* |
| vitejs | vite | >= 6.0.0, < 6.0.13 | cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:* |
| vitejs | vite | >= 6.1.0, < 6.1.3 | cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:* |
| vitejs | vite | >= 6.2.0, < 6.2.4 | cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:* |
| URL | Tags |
|---|---|
| https://github.com/vitejs/vite/commit/59673137c45ac2bcfad1170d954347c1a17ab949 | Patch |
| https://github.com/vitejs/vite/security/advisories/GHSA-4r4m-qw57-chr8 | Exploit Vendor Advisory |
| https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-31125 | US Government Resource |