Security Resilience

CVE-2026-39364

Vitejs Vite 7.0.0 – 7.3.1

Public PoC
Published
07 April 2026
Modified
04 August 2026
Patch / advisory
CVSS Score v4 8.2
Click a component to see what it means
Raw vectorCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS Score 0.016 76th percentile
Risk Priority 51 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2026-39364 is a high-severity Incorrect Behavior Order: Validate Before Canonicalize (CWE-180) vulnerability in Vitejs Vite. Its CVSS base score is 8.2 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked in the top 24% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to AC-3 (Access Enforcement) and AC-4 (Information Flow Enforcement) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

Vite is a frontend tooling framework for JavaScript whose development server is affected by CVE-2026-39364. In versions 7.1.0 through versions prior to 7.3.2 and 8.0.5, the server.fs.deny mechanism can be bypassed, allowing files such as .env or *.crt to be returned with HTTP 200 responses when requests include query parameters such as ?raw, ?import&raw, or ?import&url&inline. The issue is tracked under CWE-180 and CWE-284 and carries a CVSS 4.0 score of 8.2.

An unauthenticated attacker with network access to an exposed Vite development server can exploit the flaw to retrieve sensitive files that the deny list is intended to block, resulting in high confidentiality impact without requiring user interaction.

The referenced GitHub Security Advisory states that the vulnerability is fixed in Vite 7.3.2 and 8.0.5; practitioners should upgrade affected installations to one of these releases to restore the intended file-access restrictions. The associated EPSS score has remained low, moving only from 0.0515 currently to a peak of 0.0683.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

Vite is a frontend tooling framework for JavaScript. From 7.1.0 to before 7.3.2 and 8.0.5, on the Vite dev server, files that should be blocked by server.fs.deny (e.g., .env, *.crt) can be retrieved with HTTP 200 responses when query parameters…

more

such as ?raw, ?import&raw, or ?import&url&inline are appended. This vulnerability is fixed in 7.3.2 and 8.0.5.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1565 Data Manipulation Impact
Adversaries may insert, delete, or manipulate data in order to influence external outcomes or hide activity, thus threatening the integrity of the data.
T1606.001 Web Cookies Credential Access
Adversaries may forge web cookies that can be used to gain access to web applications or Internet services.
T1657 Financial Theft Impact
Adversaries may steal monetary resources from targets through extortion, social engineering, technical theft, or other methods aimed at their own financial gain at the expense of the availability of these resources for victims.
T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1210 Exploitation of Remote Services Lateral Movement
Adversaries may exploit remote services to gain unauthorized access to internal systems once inside of a network.
T1212 Exploitation for Credential Access Credential Access
Adversaries may exploit software vulnerabilities in an attempt to collect credentials.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2025-58752Same product: Vitejs Vite
CVE-2025-58751Same product: Vitejs Vite
CVE-2025-30208Same product: Vitejs Vite
CVE-2025-31125Same product: Vitejs Vite
CVE-2024-23331Same product: Vitejs Vite
CVE-2026-9968Shared CWE-472
CVE-2026-135470Shared CWE-472
CVE-2026-5909Shared CWE-472
CVE-2026-14069Shared CWE-472
CVE-2026-32699Shared CWE-472

Affected Assets

vitejs
vite
7.0.0 — 7.3.1 · 8.0.0 — 8.0.4
voidzero
vite\+
≤ 0.1.15

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)

—

Validate
Prove the fix (OWASP ASVS)
  • V1.3.8
  • V1.1.1
  • V12.1.3

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Directly enforces approved authorizations for logical access, stopping unauthorized actors from reaching resources.

Enforces flow-control policies that restrict information movement between subjects and objects.

Documents duties and assigns access so that no single account can bypass intended restrictions.

Limits each account to the minimum privileges needed, reducing the chance of unauthorized access.

SA-11 requires developer testing and evaluation that can discover validation-order defects after they have been coded.

SI-10 requires validity checks on inputs; when implemented with canonicalization preceding validation it structurally prevents the exact ordering flaw.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 mostly match
blocks

Secure SDLC practices directly require correct validation order after canonicalization to prevent bypasses.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing can detect validation-order defects before deployment.

removes

Applied where it was not applied before, A.8.3 mandates access restriction policies, configuration mechanisms, per-identity rights, and isolation — which removes the 'no access control' and 'misconfigured access control' instances of CWE-284. The bounded remainder is code-level enforcement bugs in the product's access control mechanism (ACL parse errors that fail open, privilege-raising without rollback, etc.), which a policy/configuration control does not reach.

finds

Ongoing audits and performance reviews of suppliers detect and correct situations where access controls or privilege assignments are weaker than contractually required, limiting an attacker's ability to exploit improper access control in the supplier's environment.

finds

Periodic independent assessment of whether documented security objectives and controls are actually implemented and effective can surface missing or bypassed access-control decisions before they are exploited.

finds

Periodic compliance reviews and corrective-action tracking detect and close gaps where access-control rules are not enforced, reducing the window in which improper access control can be exploited.

prevents

Training that covers input validation order can keep some instances of this subtle implementation defect from arising, but the issue is a specific technical knowledge gap about canonicalization-then-validate ordering that most general awareness programmes do not reach, so only a minority of instances are prevented.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-284, a pillar-level weakness. Rules are authored against its narrower children: CWE-749, CWE-1220.

References