Automated Scans Exploit CVE-2026-39364 in Exposed Vite Dev Servers to Steal AWS and Azure Secrets

A large-scale automated campaign is actively scanning the internet for publicly exposed Vite development servers to exfiltrate sensitive files and cloud credentials. Attackers leverage CVE-2026-39364 to bypass server.fs.deny restrictions and read arbitrary files using crafted query parameters such as ?raw combined with ?import. The campaign has generated thousands of requests over several weeks, with telemetry from honeypots recording 807 sessions and roughly 32,000 events in a single month. Targets include .env files, terraform.tfstate, and other infrastructure-as-code artifacts that often contain AWS access keys and Microsoft Azure tokens. The vulnerable versions are Vite 7.1.0 through versions prior to 7.3.2 and Vite 8.x prior to 8.0.5. Part of the scanning traffic originates from Google Cloud IP ranges 34.x and 35.x. Organizations are urged to update immediately, restrict the dev server to localhost, and rotate any exposed cloud credentials.

HispasecTranslated from Spanish

Read at source

A wave of mass scans is targeting internet-exposed Vite development servers to extract sensitive files and obtain credentials for AWS and Microsoft Azure. The attacks exploit CVE-2026-39364, a flaw that allows unauthenticated file reads by bypassing the dev server’s access controls.

Security researchers have observed a sustained automated campaign that systematically probes publicly reachable Vite instances for clear-text secrets, with particular focus on AWS keys and Azure tokens. The activity relies on CVE-2026-39364 and has continued for weeks, producing thousands of repetitive, industrialized requests.

The vulnerability enables attackers to read files without authentication by circumventing the server.fs.deny mechanism. Malicious requests combine parameters such as ?raw and ?import to force the server to return the contents of targeted files. The distinctive symptom is an HTTP 200 response to requests against the /@fs/ endpoint.

Affected versions include Vite 7.1.0 up to but not including 7.3.2, and Vite 8.x up to but not including 8.0.5. Attackers are not primarily interested in application source code; they seek any file visible to the host, including .env files and infrastructure-as-code artifacts such as terraform.tfstate.

The campaign enumerates long lists of paths and filenames while employing path traversal and double-encoding techniques to evade reverse proxies and WAFs. A portion of the traffic originates from Google Cloud ranges 34.x and 35.x. Honeypot sensors recorded 807 sessions and approximately 32,000 events over a monthly window.

The risk is highest when development teams expose the server using the --host flag, server.host settings, or Docker port mappings. The default port 5173 becomes an entry point once reachable from the internet.

Immediate actions include upgrading to Vite 7.3.2, 8.0.5 or later, binding the server to localhost only, and blocking external access to port 5173 at the perimeter. Additional mitigations involve denying requests to /@fs/ and creating detection rules for suspicious query patterns. Any organization that previously exposed a vulnerable instance should rotate all potentially accessible secrets without delay.

Meridian digestThe week's most consequential security stories, distilled into one briefing.See the digest

More in Vulnerabilities & Exploits

Telegram for Android Patches Voice Call Vulnerability Enabling Code Execution
Yandex Patches Millions of Stations After eMudhra Certificate Keys Compromised
Cisco ASA and FTD Face DoS Vulnerability in SSL VPN Already Exploited in the Wild