01 Record
CVE-2025-58751
Vite middleware may serve files starting with the same name with the public directory
LowPUBLISHEDCNA: GitHub_M
CNA base score2.3 CVSS v4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
02 Description
Vite middleware may serve files starting with the same name with the public directory
03 Exploitation and scoring
- Exploitation
- Public exploit code exists. CISA's assessment records a public proof of concept. That is not a report of exploitation in the wild.
- SSVC decision
- ExploitationpocPublic proof-of-concept exploit code exists. Not a report of exploitation in the wild.
- AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
- Technical ImpactpartialSuccessful exploitation gives limited control of the vulnerable component.
- EPSS probability
- 1.21% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 68.2% of scored records. A rank, not a probability.
- NVD base score
- 2.3 (CVSS v4.0), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- NVD analysis status
- Analyzed. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Low. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2025-09-08 22:52Z1 YR AGO
- Last updated
- 2025-09-09 13:29Z1 YR AGO
- Reserved
- 2025-09-04
- Assigning CNA
- GitHub_M
- Record state
- PUBLISHED
- Severity
- Low (CVSS 2.3)
- CNA CVSS vector
- CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
- Weaknesses
- Data version
- 5.1
- Document digest
- 3b8714aab699140074104c88dd4d72a33fa7a89b2d25b1afa88eefb2edb42879
05 Affected products
VendorProductVersionsPlatforms
06 References
- github.comhttps://github.com/vitejs/vite/security/advisories/GHSA-g4jq-h2w9-997c
- github.comhttps://github.com/lukeed/sirv/commit/f0113f3f8266328d804ee808f763a3c11f8997eb
- github.comhttps://github.com/vitejs/vite/commit/09f2b52e8d5907f26602653caf41b3a56692600d
- github.comhttps://github.com/vitejs/vite/commit/4f1c35bcbb5830290c694aa14b6789e07450f069
- github.comhttps://github.com/vitejs/vite/commit/63e2a5d232218f3f8d852056751e609a5367aaec
- github.comhttps://github.com/vitejs/vite/commit/e11d24008b97d4ca731ecc1a3b95260a6d12e7e0