<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/hackers-target-exposed-vite-dev-servers-to-steal-aws-azure-secrets-blmwfdkzq" -->

---
title: Hackers target exposed Vite dev servers to steal AWS,...
description: A mass-scanning campaign is exploiting CVE-2026-39364, a high-severity flaw in Vite dev servers (versions 7.1.0-7.3.2 and pre-8.0.5), to bypass file access...
canonical: https://daily.dev/posts/hackers-target-exposed-vite-dev-servers-to-steal-aws-azure-secrets-blmwfdkzq
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Hackers target exposed Vite dev servers to steal AWS, Azure secrets | daily.dev
og:description: A mass-scanning campaign is exploiting CVE-2026-39364, a high-severity flaw in Vite dev servers (versions 7.1.0-7.3.2 and pre-8.0.5), to bypass file access...
og:url: https://daily.dev/posts/hackers-target-exposed-vite-dev-servers-to-steal-aws-azure-secrets-blmwfdkzq
og:image: https://api.daily.dev/og/posts/blMWFDkZq.png
og:image:alt: Hackers target exposed Vite dev servers to steal AWS, Azure secrets
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Hackers target exposed Vite dev servers to steal AWS, Azure secrets

**[BleepingComputer](https://daily.dev/sources/bleepingcomputer)** · 3 min read · 0 upvotes · 0 comments

## Summary

A mass-scanning campaign is exploiting CVE-2026-39364, a high-severity flaw in Vite dev servers (versions 7.1.0-7.3.2 and pre-8.0.5), to bypass file access controls and steal AWS and Azure secrets. F5 detected over 800 attacks and 32,000 raw events over a month via honeypot sensors. Attackers append parameters like ?raw or ?import&raw to GET requests, bypassing deny-list filtering to read .env files, cloud credentials, Terraform state, and /etc/passwd in plaintext. Attackers also chained older Vite access-control CVEs (2025-30208, 2025-31125, 2024-45811) and used Google Cloud IP ranges for evasion. Vite normally binds to localhost, but developers often expose it via --host flags or misconfigured Docker port mappings. Recommended mitigations include updating Vite, blocking port 5173 and /@fs/ requests, and rotating any secrets that were reachable from an exposed server.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.bleepingcomputer.com/news/security/hackers-target-exposed-vite-dev-servers-to-steal-aws-azure-secrets>

## Questions this post answers

### What is CVE-2026-39364 and which Vite versions are affected?

CVE-2026-39364 is a high-severity vulnerability in Vite versions 7.1.0 through 7.3.2 and the 8.x branch before 8.0.5 that lets an unauthenticated attacker bypass file read/access controls. Appending query parameters such as ?raw, ?import&raw, or ?import&url&inline to a GET request causes the server to skip deny-list filtering and return the requested file in plaintext with an HTTP 200 response. It was disclosed on April 7.

_Teams tracking Vite security fixes can follow disclosures like this one on daily.dev._

### How can I tell if my exposed Vite dev server has been targeted for credential theft?

Attackers scanning for exposed Vite servers use wordlists targeting .env files, AWS credential and config files, Azure tokens, Terraform state files, serverless configs, /proc/self/environ, and /etc/passwd. F5 observed over 800 attacks and roughly 32,000 raw events in a month, largely from the US, Belgium, and the Netherlands, with attackers using Google Cloud IP ranges and traversal or double-encoding tricks to evade WAFs and reverse proxies.

_Anyone hardening dev environments against credential theft can track incident patterns like this via daily.dev._

### How do I protect a Vite development server from being exploited for secrets exfiltration?

Update Vite to the latest patched version, since the vulnerable versions span 7.1.0-7.3.2 and pre-8.0.5. Avoid exposing the server publicly by not using the --host flag or misconfigured Docker port mappings, since Vite binds to localhost by default. Also block port 5173, block suspicious /@fs/ requests, avoid trusting crawler user-agent strings, and rotate any secrets that were reachable if the server was ever exposed unpatched.

_Developers securing local dev servers against cloud credential leaks can follow fixes like this on daily.dev._

## Similar posts on daily.dev

- [The File That Hands Attackers Your Entire Server](https://daily.dev/posts/the-file-that-hands-attackers-your-entire-server-orzmzxctl) · Medium · 0 upvotes · 0 comments
- [When One Vulnerability Breaks the Internet and Millions of Devices Join In](https://daily.dev/posts/when-one-vulnerability-breaks-the-internet-and-millions-of-devices-join-in-rmhnf223x) · Security Boulevard · 0 upvotes · 0 comments

---

Tags: [#security](https://daily.dev/tags/security), [#aws](https://daily.dev/tags/aws), [#appsec](https://daily.dev/tags/appsec), [#vite](https://daily.dev/tags/vite)

[View this post on daily.dev](https://daily.dev/posts/hackers-target-exposed-vite-dev-servers-to-steal-aws-azure-secrets-blmwfdkzq)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Hackers target exposed Vite dev servers to steal AWS, Azure secrets","url":"https://daily.dev/posts/hackers-target-exposed-vite-dev-servers-to-steal-aws-azure-secrets-blmwfdkzq","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/hackers-target-exposed-vite-dev-servers-to-steal-aws-azure-secrets-blmwfdkzq"},"datePublished":"2026-09-14T16:16:23.607Z","dateModified":"2026-09-15T15:21:56.603Z","description":"A mass-scanning campaign is exploiting CVE-2026-39364, a high-severity flaw in Vite dev servers (versions 7.1.0-7.3.2 and pre-8.0.5), to bypass file access...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/b6e2a3f9c48284314b9bab423955e174?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/b6e2a3f9c48284314b9bab423955e174?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"BleepingComputer","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"BleepingComputer","logo":"https://media.daily.dev/image/upload/s--as8nJ3qy--/f_auto,q_auto/v1774959951/logos/bleepingcomputer?_a=BAMAMiWQ0","url":"https://daily.dev/sources/bleepingcomputer"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/hackers-target-exposed-vite-dev-servers-to-steal-aws-azure-secrets-blmwfdkzq","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"security,aws,appsec,vite","timeRequired":"PT3M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"BleepingComputer","item":"https://daily.dev/sources/bleepingcomputer"},{"@type":"ListItem","position":3,"name":"Hackers target exposed Vite dev servers to steal AWS, Azure secrets"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/hackers-target-exposed-vite-dev-servers-to-steal-aws-azure-secrets-blmwfdkzq#faq","mainEntity":[{"@type":"Question","name":"What is CVE-2026-39364 and which Vite versions are affected?","acceptedAnswer":{"@type":"Answer","text":"CVE-2026-39364 is a high-severity vulnerability in Vite versions 7.1.0 through 7.3.2 and the 8.x branch before 8.0.5 that lets an unauthenticated attacker bypass file read/access controls. Appending query parameters such as ?raw, ?import\u0026raw, or ?import\u0026url\u0026inline to a GET request causes the server to skip deny-list filtering and return the requested file in plaintext with an HTTP 200 response. It was disclosed on April 7. Teams tracking Vite security fixes can follow disclosures like this one on daily.dev."}},{"@type":"Question","name":"How can I tell if my exposed Vite dev server has been targeted for credential theft?","acceptedAnswer":{"@type":"Answer","text":"Attackers scanning for exposed Vite servers use wordlists targeting .env files, AWS credential and config files, Azure tokens, Terraform state files, serverless configs, /proc/self/environ, and /etc/passwd. F5 observed over 800 attacks and roughly 32,000 raw events in a month, largely from the US, Belgium, and the Netherlands, with attackers using Google Cloud IP ranges and traversal or double-encoding tricks to evade WAFs and reverse proxies. Anyone hardening dev environments against credential theft can track incident patterns like this via daily.dev."}},{"@type":"Question","name":"How do I protect a Vite development server from being exploited for secrets exfiltration?","acceptedAnswer":{"@type":"Answer","text":"Update Vite to the latest patched version, since the vulnerable versions span 7.1.0-7.3.2 and pre-8.0.5. Avoid exposing the server publicly by not using the --host flag or misconfigured Docker port mappings, since Vite binds to localhost by default. Also block port 5173, block suspicious /@fs/ requests, avoid trusting crawler user-agent strings, and rotate any secrets that were reachable if the server was ever exposed unpatched. Developers securing local dev servers against cloud credential leaks can follow fixes like this on daily.dev."}}]}
```

