Skip to main content
COSMICBYTEZLABS
NewsSecurityHOWTOsToolsTraining
StudyProjectsNewsletterHire MeAbout
Subscribe

Press Enter to search or Esc to close

News
Security
HOWTOs
Tools
Training
Study
Projects
Newsletter
Hire Me
About
RSS Feed
Reading List
Subscribe

Stay in the Loop

Get the latest security alerts, tutorials, and tech insights delivered to your inbox.

Subscribe NowFree forever. No spam.
COSMICBYTEZLABS

Your trusted source for IT intelligence, cybersecurity insights, and hands-on technical guides.

2831+ Articles
167+ Guides

CONTENT

  • Latest News
  • Security Alerts
  • HOWTOs
  • Checklists
  • Projects
  • Exam Prep

RESOURCES

  • Search
  • Browse Tags
  • Newsletter Archive
  • Reading List
  • RSS Feed

COMPANY

  • About Us
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CosmicBytez Labs. All rights reserved.

System Status: Operational
  1. Home
  2. News
  3. Hackers Target Exposed Vite Dev Servers to Steal AWS, Azure Secrets
Hackers Target Exposed Vite Dev Servers to Steal AWS, Azure Secrets
NEWS

Hackers Target Exposed Vite Dev Servers to Steal AWS, Azure Secrets

A mass-scanning campaign is exploiting CVE-2026-39364 in exposed Vite dev servers to harvest AWS and Azure credentials, .env files, and Terraform...

Dylan H.

News Desk

September 14, 2026
3 min read

Mass Scanning for Exposed Dev Servers

A widespread scanning campaign is targeting internet-exposed Vite development servers in an attempt to steal cloud credentials from AWS and Azure environments. The campaign exploits CVE-2026-39364, a high-severity vulnerability affecting Vite versions 7.1.0–7.3.2 and 8.x before 8.0.5.


How the Exploit Works

Attackers append parameters such as ?raw or ?import&raw to HTTP requests sent to a vulnerable Vite dev server. The server fails to enforce its deny-list filtering for these request patterns and serves the requested file's contents in plaintext with an HTTP 200 response — bypassing the protections meant to keep local files off-limits to unauthenticated network requests.


What Attackers Are After

TargetPurpose
.env files and variantsApplication secrets, API keys, database credentials
AWS credential/config filesCloud account takeover
Azure tokens and credentialsCloud account takeover
Terraform state filesInfrastructure secrets and topology
/proc/self/environFull process environment variables

Scale of the Campaign

Security firm F5 detected over 800 attacks generating approximately 32,000 events in a single month through its monitoring telemetry. Most of the malicious activity originated from IP ranges in the United States, Belgium, and the Netherlands, with attackers routing traffic through Google Cloud IP space to obscure their origin.


Why This Matters

Vite's dev server is meant to run only in local development, but it's routinely left exposed — bound to 0.0.0.0 and reachable from the internet — in cloud sandboxes, CI runners, and misconfigured containers. A single exposed instance can hand an attacker the same AWS or Azure credentials a developer uses locally, often with far broader permissions than a production service account.


Recommendations

  1. Update Vite immediately to a patched release (8.0.5+, or the latest 7.x patch that addresses CVE-2026-39364)
  2. Never expose the dev server (default port 5173) to the public internet — bind to localhost or restrict via firewall/VPN
  3. Filter or alert on /@fs/, ?raw, and ?import&raw requests at the edge if a dev instance must be reachable
  4. Rotate all credentials that may have been present in .env files or process environment on any exposed instance
  5. Treat CI/sandbox environments as production for credential-scoping purposes — least-privilege IAM limits blast radius

References

  • BleepingComputer — Hackers target exposed Vite dev servers to steal AWS, Azure secrets

Related Reading

  • Hackers Hijack HBO Max Reddit Account to Push ClickFix Malware Ads
  • 3BB Attacker Used MeshCentral Backdoor for Root Access
#Cloud Security#AWS#Azure#Vite#CVE-2026-39364#Secrets Exposure

Related Articles

Critical Langflow Flaw Exploited to Steal OpenAI and AWS Keys

Attackers are exploiting unauthenticated RCE in Langflow (CVE-2026-0768) to harvest OpenAI and AWS credentials from exposed AI-agent servers.

4 min read

Kubernetes Secrets Management with External Secrets Operator

Securely manage Kubernetes secrets using External Secrets Operator. Covers ESO installation, SecretStore configuration, syncing from Azure Key Vault and...

11 min read

Path Traversal Flaw in AI Dev Platform Langflow Exploited in Attacks

Attackers are actively exploiting CVE-2026-5027, a high-severity path traversal vulnerability in Langflow, to write arbitrary files on exposed servers....

6 min read
Back to all News