Path Traversal in Vitejs Vite

CVE-2025-58751

Vite is a frontend tooling framework for JavaScript. Prior to versions 7.1.5, 7.0.7, 6.3.6, and 5.4.20, files starting with the same name with the public directory were served bypassing the `server.fs` settings. Only apps that explicitly e…

Vulnerability class: Path Traversal (Directory Traversal)

EPSS: 0.014 (81.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-58751?
CVE-2025-58751 is a vulnerability in Vitejs Vite, classified under Path Traversal. Published 2025-09-08.
Is CVE-2025-58751 known to be exploited?
2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.