6

CVE-2025-46565: vitejs vite Path Traversal

CVSS: 6.0v4.0MediumAnalyzed
AliasesCGA-fvc8-8v8x-cxjvCGA-mqhp-x9f6-97cjGHSA-859w-5945-r5v3
Published 01-05-2025Last modified 02-05-2025

Vulnerability summary

CVE-2025-46565 is a medium (CVSS 6.0) Path Traversal vulnerability in vitejs vite. EPSS estimates a 1.17% chance of exploitation in the next 30 days, higher than 66.9% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
34/100
0100
Medium · default modelHow is this calculated?
CVSS score
6.0/10
010
Medium · v4.0 (CVE.org)
EPSS score
1.17%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 0 · Related 4

Timeline

  1. 01-05-2025
    PublishedVulnerability first disclosed.
  2. 02-05-2025
    Last modifiedVulnerability information updated.

Description

Vite is a frontend tooling framework for javascript. Prior to versions 6.3.4, 6.2.7, 6.1.6, 5.4.19, and 4.5.14, the contents of files in the project root that are denied by a file matching pattern can be returned to the browser. Only apps explicitly exposing the Vite dev server to the network (using --host or server.host config option) are affected. Only files that are under project root and are denied by a file matching pattern can be bypassed. `server.fs.deny` can contain patterns matching against files (by default it includes .env, .env.*, *.{crt,pem} as such patterns). These patterns were able to bypass for files under `root` by using a combination of slash and dot (/.). This issue has been patched in versions 6.3.4, 6.2.7, 6.1.6, 5.4.19, and 4.5.14.

CVSS metrics

6 scores · 5 sources · 2 versions

EPSS trend

Probability

1.17%

Chance of exploitation in the next 30 days

Percentile

67%

Versus all other CVEs

30-day change

+0.01 pp

From 1.16% on 20-09-2026

20-09-202620-10-2026
EPSS score
1.17%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Vite

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Chainguard3 products
  • langfuse-2-worker< 2.95.12-r26
  • langfuse-fips-2-worker< 2.95.12-r28
  • vite< 6.3.4-r0
Npm1 product
  • vite≥ 6.3.0, < 6.3.4 | ≥ 6.2.0, < 6.2.7 | ≥ 6.0.0, < 6.1.6 | ≥ 5.0.0, < 5.4.19 | < 4.5.14
Vitejs1 product
  • vite< 4.5.14 | ≥ 5.0.0, < 5.4.19 | ≥ 6.0.0, < 6.1.6 | ≥ 6.2.0, < 6.2.7 | ≥ 6.3.0, < 6.3.4
Wolfi1 product
  • vite< 6.3.4-r0

4 vendors · 6 products

References

5 links