{"schemaVersion":4,"id":"CVE-2025-32395","aliases":["GHSA-356w-63v5-8wf4","CGA-8779-gwpm-55qg","CGA-c3v2-hj9g-mvrm","CGA-mfw3-vfhw-pqq7","CGA-pr88-fjrq-mqh8"],"status":"published","duplicateOf":null,"title":"Vite has an `server.fs.deny` bypass with an invalid `request-target`","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.","dates":{"published":"2025-04-10T13:25:19.177Z","modified":"2025-04-10T14:14:40.591Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6,"severity":"medium","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":6,"severity":"medium","vector":"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","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Npm","score":6,"severity":"medium","vector":"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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Chainguard","score":6,"severity":"medium","vector":"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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":6,"severity":"medium","vector":"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","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0181,"percentile":0.79373,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.0181},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01745,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01745,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01745,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01745,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01745,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01745,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01745,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01745,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01745,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01745,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01745,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01745,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01745,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01745,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01745,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01745,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01745,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01745,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01745,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01745,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01745,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01745,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01745,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01745,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01745,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01745,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01745,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01775,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01775,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01775,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01775,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01775,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01775,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01775,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01775,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01775,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01775,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.01775,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.01775,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.01775,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.01775,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.01775,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.01775,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.01775,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.01775,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.01775,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.01775,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.01775,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.01775,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.01775,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.0181,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.0181,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.0181,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.0181,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.0181,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.0181,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.0181,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.0181,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.0181,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.0181,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.0181,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.0181,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.0181,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.0181,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.0181,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.0181,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.0181,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.0181,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.0181,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.0181,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.0181,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.0181,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.01752,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.01752,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.01752,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.01752,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.01752,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.01752,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.0181,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.0181,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.0181,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.0181,"percentile":0.79373}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.0181,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.0181,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.0181,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.0181,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.0181,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.0181,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.0181,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.0181,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.0181,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.0181,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.0181,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.0181,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.0181,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.0181,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.0181,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.0181,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.0181,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.0181,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.0181,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.0181,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.0181,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.01752,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.01752,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.01752,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.01752,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.01752,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.01752,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.0181,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.0181,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.0181,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.0181,"percentile":0.79373}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor","description":"The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/200.html"}],"affected":[{"vendor":"chainguard","product":"langfuse-2-worker","name":"langfuse-2-worker","label":"langfuse-2-worker","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/langfuse-2-worker","purlType":"apk","versions":[{"text":"< 2.95.12-r26","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2.95.12-r26","endInclusive":false}}],"versionsText":"< 2.95.12-r26","eol":null,"hubHref":null},{"vendor":"chainguard","product":"langfuse-fips-2-worker","name":"langfuse-fips-2-worker","label":"langfuse-fips-2-worker","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/langfuse-fips-2-worker","purlType":"apk","versions":[{"text":"< 2.95.12-r28","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2.95.12-r28","endInclusive":false}}],"versionsText":"< 2.95.12-r28","eol":null,"hubHref":null},{"vendor":"Npm","product":"vite","name":"vite","label":"vite","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/vite","purlType":"npm","versions":[{"text":"≥ 6.2.0, < 6.2.6","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"6.2.0","startInclusive":true,"end":"6.2.6","endInclusive":false}},{"text":"≥ 6.1.0, < 6.1.5","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"6.1.0","startInclusive":true,"end":"6.1.5","endInclusive":false}},{"text":"≥ 6.0.0, < 6.0.15","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"6.0.0","startInclusive":true,"end":"6.0.15","endInclusive":false}},{"text":"≥ 5.0.0, < 5.4.18","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"5.0.0","startInclusive":true,"end":"5.4.18","endInclusive":false}},{"text":"< 4.5.13","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"4.5.13","endInclusive":false}}],"versionsText":"≥ 6.2.0, < 6.2.6 | ≥ 6.1.0, < 6.1.5 | ≥ 6.0.0, < 6.0.15 | ≥ 5.0.0, < 5.4.18 | < 4.5.13","eol":null,"hubHref":null},{"vendor":"vitejs","product":"vite","name":"vite","label":"vite","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 6.2.0, < 6.2.6","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"6.2.0","startInclusive":true,"end":"6.2.6","endInclusive":false}},{"text":"≥ 6.1.0, < 6.1.5","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"6.1.0","startInclusive":true,"end":"6.1.5","endInclusive":false}},{"text":"≥ 6.0.0, < 6.0.15","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"6.0.0","startInclusive":true,"end":"6.0.15","endInclusive":false}},{"text":"≥ 5.0.0, < 5.4.18","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"5.0.0","startInclusive":true,"end":"5.4.18","endInclusive":false}},{"text":"< 4.5.13","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"4.5.13","endInclusive":false}}],"versionsText":"≥ 6.2.0, < 6.2.6 | ≥ 6.1.0, < 6.1.5 | ≥ 6.0.0, < 6.0.15 | ≥ 5.0.0, < 5.4.18 | < 4.5.13","eol":null,"hubHref":"/vendor/vitejs/vite"}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/vitejs/vite/security/advisories/GHSA-356w-63v5-8wf4","label":"github.com/vitejs/vite/security/advisories/GHSA-356w-63v5-8wf4","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Advisory"]},{"url":"https://github.com/vitejs/vite/commit/175a83909f02d3b554452a7bd02b9f340cdfef70","label":"github.com/vitejs/vite/commit/175a83909f02d3b554452a7bd02b9f340cdfef70","hostname":"github.com","tags":["X Refsource MISC","WEB","FIX"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-32395","label":"nvd.nist.gov/vuln/detail/CVE-2025-32395","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/vitejs/vite","label":"github.com/vitejs/vite","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/32xxx/CVE-2025-32395.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2025/32xxx/CVE-2025-32395.json","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-G458-942V-6G6R","CGA-MCXC-5X95-9CC6","CGA-PF2H-Q7X3-3P32","CGA-QRV6-J45X-4VWF"]},"timeline":[{"kind":"published","date":"2025-04-10T13:25:19.177Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-04-10T14:14:40.591Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 6, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,2,60],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.0181,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2025-04-10T14:14:40.591Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6,"vector":"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","version":"4.0","headline":true},{"type":"cvss","source":"osv_npm","date":"2025-04-10T14:14:40.591Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6,"vector":"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","version":"4.0"},{"type":"cvss","source":"osv_chainguard","date":"2025-04-10T14:14:40.591Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6,"vector":"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","version":"4.0"},{"type":"cvss","source":"nvd","date":"2025-04-10T14:14:40.591Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6,"vector":"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","version":"4.0"},{"type":"adp","source":"cisa-adp","date":"2025-04-10T14:14:30.473Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"poc"}],"epss":{"value":0.0181,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T08:03:29.184Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T08:03:29.748Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T08:03:29.946Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T08:01:00.622Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T08:03:27.537Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T08:03:26.585Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T08:20:52.557Z","stale":false,"partial":false}}