CVE-2024-23331 in Vitejs Vite and 1 more product
Vite is a frontend tooling framework for javascript. The Vite dev server option `server.fs.deny` can be bypassed on case-insensitive file systems using case-augmented versions of filenames. Notably this affects servers hosted on Windows. This bypass is similar to CVE-2023-34092 -- with surface area reduced to hosts ...
Affects 2 products from 2 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, no integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Vitejs | Vite | ≥ 2.7.0, < 2.9.17 ≥ 3.0.0, < 3.2.8 ≥ 4.0.0, < 4.5.2 ≥ 5.0.0, < 5.0.12 |
Platforms listed by the source (the vulnerable product runs on these; they are not themselves vulnerable): Microsoft Windows
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
Vite is a frontend tooling framework for javascript. The Vite dev server option `server.fs.deny` can be bypassed on case-insensitive file systems using case-augmented versions of filenames. Notably this affects servers hosted on Windows. This bypass is similar to CVE-2023-34092 -- with surface area reduced to hosts having case-insensitive filesystems. Since `picomatch` defaults to case-sensitive glob matching, but the file server doesn't discriminate; a blacklist bypass is possible. By requesting raw filesystem paths using augmented casing, the matcher derived from `config.server.fs.deny` fails to block access to sensitive files. This issue has been addressed in [email protected], [email protected], [email protected], and [email protected]. Users are advised to upgrade. Users unable to upgrade should restrict access to dev servers.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2024-23331 |
|---|---|
| BreachSpider ID | BS-2024-GLOBAL-052744-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| Published | 2024-01-19 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-178: CWE-178
CWE-200: Exposure of Sensitive Information
Application reveals restricted data such as system internals, credentials, or user data to unauthorized actors.
CWE-284: Improper Access Control
Software does not restrict or incorrectly restricts access to a resource.
Related attack patterns (CAPEC)
CAPEC-13 Subverting Environment Variable Values via CWE-200
CAPEC-59 Session Credential Falsification through Prediction via CWE-200
CAPEC-60 Reusing Session IDs (aka Session Replay) via CWE-200
CAPEC-79 Using Slashes in Alternate Encoding via CWE-200
CAPEC-285 ICMP Echo Request Ping via CWE-200
Show all 76
CAPEC-287 TCP SYN Scan via CWE-200
CAPEC-290 Enumerate Mail Exchange (MX) Records via CWE-200
CAPEC-291 DNS Zone Transfers via CWE-200
CAPEC-293 Traceroute Route Enumeration via CWE-200
CAPEC-294 ICMP Address Mask Request via CWE-200
CAPEC-295 Timestamp Request via CWE-200
CAPEC-296 ICMP Information Request via CWE-200
CAPEC-297 TCP ACK Ping via CWE-200
CAPEC-298 UDP Ping via CWE-200
CAPEC-299 TCP SYN Ping via CWE-200
CAPEC-301 TCP Connect Scan via CWE-200
CAPEC-302 TCP FIN Scan via CWE-200
CAPEC-303 TCP Xmas Scan via CWE-200
CAPEC-304 TCP Null Scan via CWE-200
CAPEC-305 TCP ACK Scan via CWE-200
CAPEC-306 TCP Window Scan via CWE-200
CAPEC-307 TCP RPC Scan via CWE-200
CAPEC-308 UDP Scan via CWE-200
CAPEC-310 Scanning for Vulnerable Software via CWE-200
CAPEC-317 IP ID Sequencing Probe via CWE-200
CAPEC-318 IP 'ID' Echoed Byte-Order Probe via CWE-200
CAPEC-319 IP (DF) 'Don't Fragment Bit' Echoing Probe via CWE-200
CAPEC-320 TCP Timestamp Probe via CWE-200
CAPEC-321 TCP Sequence Number Probe via CWE-200
CAPEC-322 TCP (ISN) Greatest Common Divisor Probe via CWE-200
CAPEC-323 TCP (ISN) Counter Rate Probe via CWE-200
CAPEC-324 TCP (ISN) Sequence Predictability Probe via CWE-200
CAPEC-325 TCP Congestion Control Flag (ECN) Probe via CWE-200
CAPEC-326 TCP Initial Window Size Probe via CWE-200
CAPEC-327 TCP Options Probe via CWE-200
CAPEC-328 TCP 'RST' Flag Checksum Probe via CWE-200
CAPEC-329 ICMP Error Message Quoting Probe via CWE-200
CAPEC-330 ICMP Error Message Echoing Integrity Probe via CWE-200
CAPEC-472 Browser Fingerprinting via CWE-200
CAPEC-478 Modification of Windows Service Configuration via CWE-284
CAPEC-479 Malicious Root Certificate via CWE-284
CAPEC-508 Shoulder Surfing via CWE-200
CAPEC-546 Incomplete Data Deletion in a Multi-Tenant Environment via CWE-284
CAPEC-550 Install New Service via CWE-284
CAPEC-551 Modify Existing Service via CWE-284
CAPEC-552 Install Rootkit via CWE-284
CAPEC-556 Replace File Extension Handlers via CWE-284
CAPEC-558 Replace Trusted Executable via CWE-284
CAPEC-562 Modify Shared File via CWE-284
CAPEC-563 Add Malicious File to Shared Webroot via CWE-284
CAPEC-564 Run Software at Logon via CWE-284
CAPEC-643 Identify Shared Files/Directories on System via CWE-200
CAPEC-19 Embedding Scripts within Scripts via CWE-284
CAPEC-292 Host Discovery via CWE-200
CAPEC-300 Port Scanning via CWE-200
CAPEC-309 Network Topology Mapping via CWE-200
CAPEC-312 Active OS Fingerprinting via CWE-200
CAPEC-313 Passive OS Fingerprinting via CWE-200
CAPEC-497 File Discovery via CWE-200
CAPEC-502 Intent Spoof via CWE-284
CAPEC-503 WebView Exposure via CWE-284
CAPEC-536 Data Injected During Configuration via CWE-284
CAPEC-573 Process Footprinting via CWE-200
CAPEC-574 Services Footprinting via CWE-200
CAPEC-575 Account Footprinting via CWE-200
CAPEC-576 Group Permission Footprinting via CWE-200
CAPEC-577 Owner Footprinting via CWE-200
CAPEC-578 Disable Security Software via CWE-284
CAPEC-616 Establish Rogue Location via CWE-200
CAPEC-646 Peripheral Footprinting via CWE-200
CAPEC-651 Eavesdropping via CWE-200
CAPEC-22 Exploiting Trust in Client via CWE-200
CAPEC-116 Excavation via CWE-200
CAPEC-169 Footprinting via CWE-200
CAPEC-224 Fingerprinting via CWE-200
CAPEC-441 Malicious Logic Insertion via CWE-284
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
CVE-2024-23331 affects Vite's development server by allowing bypass of the `server.fs.deny` option on case-insensitive file systems, such as Windows, through case-augmented filenames.
An attacker can exploit this vulnerability by crafting requests with filenames that bypass the `server.fs.deny` configuration due to case insensitivity, potentially leading to unauthorized file access.
Questions
What is CVE-2024-23331?
CVE-2024-23331 affects Vite's development server by allowing bypass of the `server.fs.deny` option on case-insensitive file systems, such as Windows, through case-augmented filenames.
What is the CVSS score for CVE-2024-23331?
CVE-2024-23331 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N. EPSS: 0.9%.
Is CVE-2024-23331 actively exploited?
No confirmed active exploitation of CVE-2024-23331 as of 2026-09-25.
How do I remediate CVE-2024-23331?
Priority: MEDIUM. PSIRT: [email protected]
What systems are affected by CVE-2024-23331?
CVE-2024-23331 affects Vitejs Vite.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Vitejs","product":"Vite","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.