5.3

CVE-2025-58752: vitejs vite Relative Path Traversal

CVSS: 5.3v3.1MediumAnalyzed
AliasesCGA-234j-9f66-ccqxCGA-34cf-7rqw-86cpCGA-3xf5-qp7j-v2vp
Published 08-09-2025Last modified 09-09-2025

Vulnerability summary

CVE-2025-58752 is a medium (CVSS 5.3) Relative Path Traversal vulnerability in vitejs vite. EPSS estimates a 0.61% chance of exploitation in the next 30 days, higher than 48.1% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
31/100
0100
Medium · default modelHow is this calculated?
CVSS score
5.3/10
010
Medium · v3.1 (NVD)
EPSS score
0.61%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 0 · Related 2

Timeline

  1. 08-09-2025
    PublishedVulnerability first disclosed.
  2. 09-09-2025
    Last modifiedVulnerability information updated.

Description

Vite is a frontend tooling framework for JavaScript. Prior to versions 7.1.5, 7.0.7, 6.3.6, and 5.4.20, any HTML files on the machine were served regardless of the `server.fs` settings. Only apps that explicitly expose the Vite dev server to the network (using --host or server.host config option) and use `appType: 'spa'` (default) or `appType: 'mpa'` are affected. This vulnerability also affects the preview server. The preview server allowed HTML files not under the output directory to be served. Versions 7.1.5, 7.0.7, 6.3.6, and 5.4.20 fix the issue.

CVSS metrics

6 scores · 5 sources · 2 versions

EPSS trend

Probability

0.61%

Chance of exploitation in the next 30 days

Percentile

48%

Versus all other CVEs

30-day change

0.00 pp

From 0.61% on 20-09-2026

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

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

Chainguard12 products
  • gitlab-rails-ce-18.1All versions (No fix recorded)
  • gitlab-rails-ce-fips-18.1All versions (No fix recorded)
  • langfuse-2-worker< 2.95.12-r26
  • langfuse-3-compat< 3.225.7-r6
  • langfuse-3-worker< 3.179.1-r3
Wolfi5 products
  • langfuse-3-compat< 3.225.7-r6
  • langfuse-3-worker< 3.179.1-r3
  • vitess-23< 23.0.0-r2
  • vitess-23-binaries< 23.0.0-r2
  • vitess-23-compat< 23.0.0-r2
Npm1 product
  • vite≥ 7.1.0, < 7.1.5 | ≥ 7.0.0, < 7.0.7 | ≥ 6.0.0, < 6.3.6 | < 5.4.20
Vitejs1 product
  • vite< 5.4.20 | ≥ 6.0.0, < 6.3.6 | ≥ 7.0.0, < 7.0.7 | ≥ 7.1.0, < 7.1.5

4 vendors · 19 products

References

9 links