CVE-2025-32395
Last modified
CVE-2025-32395 is a medium-severity vulnerability rated 6/10 on the CVSS scale. Vite is a frontend tooling framework for javascript. Prior to 6.2.6, 6.1.5, 6.0.15, 5.4.18, and 4.5.13, the contents of arbitrary files can be returned to the browser if the dev server is running on Node or Bun. EPSS estimates a 1.70% chance of exploitation in the next 30 days.
Description
Vite is a frontend tooling framework for javascript. Prior to 6.2.6, 6.1.5, 6.0.15, 5.4.18, and 4.5.13, the contents of arbitrary files can be returned to the browser if the dev server is running on Node or Bun. HTTP 1.1 spec (RFC 9112) does not allow # in request-target. Although an attacker can send such a request. For those requests with an invalid request-line (it includes request-target), the spec recommends to reject them with 400 or 301. The same can be said for HTTP 2. On Node and Bun, those requests are not rejected internally and is passed to the user land. For those requests, the value of http.IncomingMessage.url contains #. Vite assumed req.url won't contain # when checking server.fs.deny, allowing those kinds of requests to bypass the check. Only apps explicitly exposing the Vite dev server to the network (using --host or server.host config option) and running the Vite dev server on runtimes that are not Deno (e.g. Node, Bun) are affected. This vulnerability is fixed in 6.2.6, 6.1.5, 6.0.15, 5.4.18, and 4.5.13.
Metrics
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/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
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-32395?
How severe is CVE-2025-32395?
How do I fix CVE-2025-32395?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-3239A vulnerability classified as critical was found in PHPGuruk…9.8
- CVE-2025-32390EspoCRM is a free, open-source customer relationship managem…8.5
- CVE-2025-32391HedgeDoc is an open source, real-time, collaborative, markdo…4.6
- CVE-2025-32392AutoGPT is a workflow automation platform for creating, depl…8.7
- CVE-2025-32393AutoGPT is a platform that allows users to create, deploy, a…6.5
- CVE-2025-32394AutoGPT is a workflow automation platform for creating, depl…5.3
- CVE-2025-32396An Heap-based Buffer Overflow in RT-Labs P-Net version 1.0.1…7.5
- CVE-2025-32397An Heap-based Buffer Overflow in RT-Labs P-Net version 1.0.1…7.5
- CVE-2025-32398A NULL Pointer Dereference in RT-Labs P-Net version 1.0.1 or…7.5
- CVE-2025-32399An Unchecked Input for Loop Condition in RT-Labs P-Net versi…7.5
- CVE-2025-3240A vulnerability, which was classified as critical, has been …9.8
- CVE-2025-32400An Heap-based Buffer Overflow in RT-Labs P-Net version 1.0.1…7.5
Are you affected by CVE-2025-32395?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
