GHSA-859w-5945-r5v3 · Severity: medium · Ecosystem: npm — Vite's server.fs.deny bypassed with /. for files under project root
Vite is a frontend tooling framework for javascript. Prior to versions 6.3.4, 6.2.7, 6.1.6, 5.4.19, and 4.5.14, the contents of files in the project root that are denied by a file matching pattern can be returned to the browser. Only apps explicitly exposing the Vite dev server to the network (using --host or server.host config option) are affected. Only files that are under project root and are denied by a file matching pattern can be bypassed. `server.fs.deny` can contain patterns matching against files (by default it includes .env, .env.*, *.{crt,pem} as such patterns). These patterns were able to bypass for files under `root` by using a combination of slash and dot (/.). This issue has been patched in versions 6.3.4, 6.2.7, 6.1.6, 5.4.19, and 4.5.14.
Conclusion & alert: CVE-2025-46565 is rated High Exploit Risk (67.6/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 1.44%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| 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-05-20 | 1.15% | 1.44% | +0.29% |
| 2 | 2026-04-21 | 1.49% | 1.15% | -0.35% |
| 3 | 2026-03-28 | — | 1.49% | — |
Full EPSS history (7 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 6.0 | 4.0 | MEDIUM |
|
— | — | [email protected] |
| 5.3 | 3.1 | MEDIUM |
|
3.9 | 1.4 | [email protected] |
GHSA-859w-5945-r5v3 · Severity: medium · Ecosystem: npm — Vite's server.fs.deny bypassed with /. for files under project root
| vendor | priority | summary | link |
|---|---|---|---|
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2025-46565 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| vitejs | vite | < 4.5.14 | cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:* |
| vitejs | vite | >= 5.0.0, < 5.4.19 | cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:* |
| vitejs | vite | >= 6.0.0, < 6.1.6 | cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:* |
| vitejs | vite | >= 6.2.0, < 6.2.7 | cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:* |
| vitejs | vite | >= 6.3.0, < 6.3.4 | cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:* |
| URL | Tags |
|---|---|
| https://github.com/vitejs/vite/commit/c22c43de612eebb6c182dd67850c24e4fab8cacb | Patch |
| https://github.com/vitejs/vite/security/advisories/GHSA-859w-5945-r5v3 | Exploit Vendor Advisory |