Vite CVE-2026-39364 exposes internet-facing development servers to mass scanning for cloud credentials and infrastructure secrets.
Attackers are probing exposed Vite servers for .env files, AWS and Azure credentials, Terraform state, and other sensitive data.
Upgrade to Vite 7.3.2 or 8.0.5 or later, restrict unnecessary server exposure, investigate exposed instances, and rotate potentially disclosed credentials.
Hexnode UEM can support endpoint administration and scripting, while Hexnode XDR can assist with investigation and containment.
Internet-exposed Vite development servers are facing mass scanning designed to uncover cloud credentials and infrastructure secrets. F5 Labs recorded 807 session-grouped attacks and roughly 32,000 raw events during August 2026. The activity included probes matching Vite CVE-2026-39364, alongside attempts targeting older Vite file-access flaws. Attackers systematically requested .env files, AWS credentials, Azure data, Terraform state files and process environment data.
Vite CVE-2026-39364 is a high-severity file-read vulnerability that can bypass server.fs.deny through crafted query parameters. Vite 7.1.0 through 7.3.1 and 8.0.0 through 8.0.4 are affected. Versions 7.3.2 and 8.0.5 contain the fix. The Vite advisory assigns the vulnerability a CVSS v4.0 score of 8.2.
Importantly, F5’s telemetry confirms scanning and attempts to retrieve sensitive files. The available reporting does not establish that every request succeeded or that specific AWS or Azure accounts were subsequently compromised.
Vite CVE-2026-39364 at a Glance
Detail
Information
CVE
CVE-2026-39364
Product
Vite development server
Vulnerability
server.fs.deny file-access bypass
Severity
High
CVSS
8.2, CVSS v4.0
Authentication
None required
Affected Vite versions
7.1.0–7.3.1 and 8.0.0–8.0.4
Fixed versions
7.3.2 and 8.0.5
Exposure condition
Vite development server exposed to the network, with additional filesystem conditions
Observed activity
Mass scanning and credential/configuration-file probing
CISA KEV
Not listed as of this review
How Vite CVE-2026-39364 Bypasses server.fs.deny
CVE-2026-39364 allows unauthenticated attackers to bypass Vite’s server.fs.deny restrictions with crafted query parameters. Exploitation requires a network-accessible development server and specific filesystem conditions.
Vite uses server.fs.deny to prevent its development server from serving sensitive files. Its default deny list covers files such as .env, certificates, private keys and package-manager configuration files.
However, CVE-2026-39364 can bypass this restriction under specific conditions. By appending query parameters such as ?raw, ?import&raw, or ?import&url&inline, an unauthenticated attacker can retrieve files protected by server.fs.deny with an HTTP 200 response.
An affected application must meet three conditions:
Network exposure: The Vite development server is exposed through --host or server.host.
Permitted filesystem location: The requested file exists within directories permitted by server.fs.allow.
Denied file pattern: The file matches a pattern configured under server.fs.deny.
Vite uses localhost as the default value for server.host. Setting it to 0.0.0.0 or true can make the server listen on additional interfaces. Therefore, network exposure is an important prerequisite rather than an inherent property of every Vite installation.
Why the Scanners Are Looking for Cloud and IaC Secrets
F5’s telemetry shows that the campaign goes well beyond checking whether a Vite server responds.
The scanning infrastructure cycled through lists of potentially valuable files. Targets included .env variants and AWS credential files across several common user directories. Attackers also probed for Azure data, Terraform state, serverless configuration and process environment information.
Examples included:
.env, .env.local and .env.production
AWS credential and configuration files
Azure credential and access-token data
Terraform state files
serverless configuration
/proc/self/environ
/etc/passwd
F5 also observed double-encoded traversal sequences. The researchers assessed that attackers used these techniques to bypass request normalization by intermediate reverse proxies or web application firewalls.
This targeting matters because development environments can contain secrets used by build, deployment and cloud workflows. Exposure of a credential does not automatically mean a cloud account was compromised. However, a valid exposed credential could provide another access path depending on its permissions and validity.
What F5 Actually Observed in the Vite Scanning Campaign
F5’s August telemetry shows that the scanning extended across internet-exposed developer tooling and included probes matching CVE-2026-39364.
Additionally, the activity generated signatures associated with older Vite access-control vulnerabilities, including CVE-2025-30208, CVE-2025-31125 and CVE-2024-45811.
That distinction is important for incident response.
The evidence supports saying that exposed Vite systems were actively scanned and probed for sensitive files. It does not establish that every target returned those files. Nor does the available F5 report document subsequent privilege escalation, lateral movement or persistence inside specific AWS or Azure environments.
How to Mitigate Vite CVE-2026-39364 on Exposed Dev Servers
Organizations should address both the vulnerable Vite deployment and any secrets that could have been accessible while the server was exposed.
Upgrade Vite: Update affected deployments to Vite 7.3.2 or 8.0.5 or later. Teams should perform the upgrade through their existing npm, dependency-management or software-deployment workflow.
Restrict network exposure: Remove unnecessary --host or server.host configurations that expose Vite beyond the intended network boundary. Where remote access is unnecessary, keep the development server bound to localhost.
Audit logs: Review Vite, reverse-proxy and relevant network logs for requests containing ?raw, ?import&raw or ?import&url&inline. Investigate systems that received suspicious requests while running an affected Vite version.
Rotate potentially exposed secrets: Rotate AWS or Azure credentials, access tokens and other secrets that may have been accessible through .env files, Terraform state or other exposed configuration data.
Teams should also review how development servers become externally reachable. Removing unnecessary exposure reduces the attack surface, while log analysis and credential rotation help address potential exposure that occurred before remediation.
Featured resource
Why XDR Is Stronger With UEM
See how combining UEM with XDR can connect proactive endpoint hygiene with faster threat investigation and containment.
How Hexnode Supports Endpoint Investigation After Vite Exposure
The primary remediation for CVE-2026-39364 remains upgrading Vite and restricting unnecessary development-server exposure. Hexnode can complement these measures with endpoint administration, investigation and containment workflows.
Incident requirement
How Hexnode supports it
Technical boundary
Assess developer endpoints
Hexnode UEM provides centralized endpoint management and supports custom scripting. Administrators can use supported scripts for organization-specific checks, such as inspecting configurations or collecting information from managed developer endpoints.
Vite is an npm package. Teams should upgrade it through the appropriate npm, dependency-management or software-deployment workflow. Hexnode UEM should not be positioned as automatically patching the Vite dependency.
Investigate suspicious endpoint activity
With Hexnode XDR, security teams gain visibility across Windows and macOS endpoints and supports investigation through Precision Threat Hunting.
Hexnode XDR should not be positioned as directly detecting CVE-2026-39364 unless specific detection coverage is documented.
Contain suspicious endpoint activity
Hexnode XDR provides remediation capabilities such as device isolation, process termination and file quarantine.
These endpoint response actions do not replace upgrading Vite or restricting development-server exposure.
The responsibilities remain distinct. Patch and restrict Vite at the development layer, then use endpoint controls to investigate and contain suspicious activity where relevant.
Top 7 Hexnode XDR Capabilities to Assess
Explore the XDR investigation and remediation capabilities security teams should evaluate when strengthening endpoint threat response.
Treat Exposed Development Services as Part of the Attack Surface
When organizations expose development servers, CVE-2026-39364 gives attackers a practical way to discover sensitive secrets through Vite’s access-control failure.
The campaign’s targeting is particularly important. The scanners did not simply check Vite versions. They searched for .env files, cloud credentials, Terraform state and process environments that could contain operational secrets.
Security and DevOps teams should upgrade to Vite 7.3.2 or 8.0.5 or later, remove unnecessary network exposure and investigate previously exposed instances. Potentially disclosed credentials should also be rotated.
Developer tooling may be temporary. The credentials accessible through it often are not.
Strengthen Control Across Your Developer Endpoints
Manage endpoint configurations, deploy supported scripts and strengthen device oversight with Hexnode UEM.
I write at the intersection of technology, process, and people, focusing on explaining complex products with clarity. I break down tools, systems, and workflows without any noise, jargon, or the hype.