CVE-2025-32395
CVE-2025-32395 — Vite has an `server.fs.deny` bypass with an invalid `request-target`
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…
Published Updated Sources: cvelistV5, GitHub_M
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Public exploit
exploit code published, no use observed
EPSS
2%
chance of exploitation in 30 days
CVSS base
6.0
MEDIUM
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
PoC
none · proof-of-concept · active
Automatable
No
can an attacker script all four kill-chain steps
Technical impact
Partial
partial · total control of the vulnerable component
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 6.0 | CVSS 4.0 | MEDIUM | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-200
Attack patterns reported against this CVE. The ATT&CK techniques below are inferred from its weakness class.
- T1562.003Impair Defenses: Impair Command History Logging
- T1574.006Hijack Execution Flow: Dynamic Linker Hijacking
- T1574.007Hijack Execution Flow: Path Interception by PATH Environment Variable
Public exploit
Capability, not use: code existing is a different claim from anyone running it.
Indexed by
References
2 on the record
- github.com/vitejs/vite/security/advisories/GHSA-356w-63v5-8wf4
x_refsource_CONFIRM
- github.com/vitejs/vite/commit/175a83909f02d3b554452a7bd02b9f340cdfef70
x_refsource_MISC
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2025-31125 Vite has a `server.fs.deny` bypassed for `inline` and `raw` with `?import` queryCVSS 7.5 · CISA KEV
- CVE-2015-0310 Adobe Flash Player ASLR Bypass VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2018-5430 TIBCO JasperReports Server Information Disclosure VulnerabilityCVSS 8.8 · CISA KEV
- CVE-2008-0655 Adobe Acrobat and Reader Unspecified VulnerabilityCVSS 8.8 · CISA KEV
- CVE-2024-24919 Information disclosureCVSS 8.6 · CISA KEV
- CVE-2017-5521 NETGEAR Multiple Devices Exposure of Sensitive Information VulnerabilityCVSS 8.1 · CISA KEV
Elsewhere on this site
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.