Bug 2393970 (CVE-2025-58751) - CVE-2025-58751 vitejs/vite: lukeed/sirv: Vite middleware may serve files starting with the same name with the public directory
Summary: CVE-2025-58751 vitejs/vite: lukeed/sirv: Vite middleware may serve files star...
Keywords:
Status: NEW
Alias: CVE-2025-58751
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2395135 2395136 2395137 2395138 2395139 2395140 2395141 2395142 2395143
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-09-08 23:01 UTC by OSIDB Bzimport
Modified: 2025-09-23 11:28 UTC (History)
75 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-09-08 23:01:38 UTC
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 expose the Vite dev server to the network (using --host or `server.host` config option), use the public directory feature (enabled by default), and have a symlink in the public directory are affected. Versions 7.1.5, 7.0.7, 6.3.6, and 5.4.20 fix the issue.


Note You need to log in before you can comment on or make changes to this bug.