Path Traversal in Vitejs Vite

CVE-2025-58752

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…

EPSS: 0.000 (8.0th percentile) — read the EPSS interpretation.

Affected products

  • Vitejs Vite — versions < 5.4.20, >= 6.0.0, < 6.3.6, >= 7.0.0, < 7.0.7

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2025-58752?
CVE-2025-58752 is a vulnerability in Vitejs Vite, classified under Relative Path Traversal. Published 2025-09-08.
Is CVE-2025-58752 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.