CVE-2026-118662
CVE-2026-118662 — Vite: `server.fs.deny` bypassed with queries
Vite is a frontend tooling framework for JavaScript. From 6.4.4 until 6.4.5, the Vite development server can evaluate server.fs.deny before stripping loader query parameters such as ?raw, ?import&raw, or ?import&url&inline. When the development server is exposed to the network and a sensitive file is inside server.fs.allow but matched by server.fs.deny, an unauthenticated attacker can append one of these queries and retrieve the denied file. This issue is fixed in version 6.4.5.
Published Updated Sources: NVD, vitejs (CNA), GitHub, SOCRadar CTI
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
<1%
ahead of 22% of scored CVEs
CVSS base
6.9
medium
Remediation
The vendor's own words where we have them.
Upgrade Vite to a fixed release. Apply vendor patches per advisory and restrict external exposure of the affected component until patched.
First 24 hours
Ordered from the record's own fields — exposure first, because you cannot patch what you have not found.
- Identify exposed assets running affected vendor/product/version combinations.
- Prioritize based on EPSS, PoC availability, and external exposure.
- Search available logs for exploit probes, errors, authentication anomalies, or suspicious child processes matching the vulnerability class.
Affected scope
Vendor, product and version as the advisories word them.
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Vitejs | vite | >= 6.4.4, < 6.4.5 | Vulnerable |
Attack characteristics
The CVSS vector, decoded. It describes the attack, not your exposure to it.
Scope
X
Attack Complexity
Low
Attack Vector
Network
Privileges Req
None
User Interaction
None
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 6.9 | CVSS 4.0 | medium | n/a | n/a | vitejs (CNA) |
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:H/SI:N/SA:N
What this weakness leads to
MITRE's own consequences and mitigations for the weakness class — the authority's wording, not guidance derived from the CVSS vector.
CWE-180 · Incorrect Behavior Order: Validate Before Canonicalize
- Bypass Protection Mechanism::
Mitigation: Inputs should be decoded and canonicalized to the application's current internal representation before being validated (CWE-180). Make sure that the application does not decode the same input twice (CWE-174). Such errors could be used to bypass allowlist validation schemes by introducing dangerous inputs after they have been checked.::
CWE-284 · Improper Access Control
- Varies by Context::
Mitigation: Very carefully manage the setting, management, and handling of privileges. Explicitly manage trust zones in the software.
Weakness & attack patterns
- CWE-180
- CWE-284Improper Access Control
Attack patterns reported against this CVE. The ATT&CK techniques below are inferred from its weakness class.
- T1027Obfuscated Files or Information
- T1027.009Obfuscated Files or Information: Embedded Payloads
- T1546.004Event Triggered Execution: .bash_profile and .bashrc
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Prioritize edge telemetry for network-reachable Vite.
Timeline
What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.
- 2026
Added · CVSS 3.1 6.9 (AV:N)
Oct 28, 2026 · NVD
Initial · CVE published
Oct 28, 2026 · NVD
CVE published by MITRE.
Oct 28, 2026 · SOCRadar CTI
References
5 on the record
- github.com/vitejs/vite/commit/91e40d7bf9777057bbd31c3eb036a54c9465697e
Exploit, Third Party Advisory, Mitre, NIST
- github.com/vitejs/vite/pull/22160
Exploit, Third Party Advisory, Mitre, NIST
- github.com/vitejs/vite/pull/23855
Exploit, Third Party Advisory, Mitre, NIST
- github.com/vitejs/vite/releases/tag/v6.4.5
Exploit, Third Party Advisory, Mitre, NIST
- github.com/vitejs/vite/security/advisories/GHSA-8g5g-mxqh-grgj
Exploit, Third Party Advisory, Mitre, NIST
Coverage
1 story from the feeds we poll
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2025-31125 Vite has a `server.fs.deny` bypassed for `inline` and `raw` with `?import` queryCVSS 7.5 · CISA KEV
- CVE-2026-34908 Ubiquiti UniFi OS Improper Access Control VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2026-21962 Oracle HTTP Server and Oracle Weblogic Server Proxy Plug-in Improper Access Control VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2015-3306 ProFTPD Improper Access Control VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2013-0422 Oracle JRE Remote Code Execution VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2012-5076 Oracle Java SE Sandbox Bypass VulnerabilityCVSS 10.0 · CISA KEV
Elsewhere on this site
- Vitejsevery CVE for this vendor
- Access Controlsame class
- CWE-180other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record1
What should defenders know first?
CVE-2026-118662 is Vite: `server.fs.deny` bypassed with queries, a medium vulnerability affecting Vite from Vitejs. The current evidence does not list it in CISA KEV, and the exploit status is: Active exploitation is not confirmed from current sources for CVE-2026-118662. Public exploit evidence is: A public PoC is not confirmed from current sources for CVE-2026-118662. The affected-version evidence is listed in the key facts and affected products tables. Defenders should first verify whether exposed or business-critical assets run those versions, then apply vendor patches or mitigations, restrict reachable attack surface, and preserve logs for detection review. CVSS 6.9 describes technical severity, while EPSS 0% helps estimate near-term exploit likelihood; neither replaces asset context. Unknown fields should remain explicit in tickets, and threat actor, IOC, victimology, or payload claims should not be added unless a cited source supports them. Monitor CISA KEV, vendor advisories, NVD changes, public PoC repositories, and internal telemetry for update triggers.