{"schemaVersion":3,"id":"CVE-2025-46565","aliases":["CGA-fvc8-8v8x-cxjv","CGA-mqhp-x9f6-97cj","GHSA-859w-5945-r5v3","CGA-3q35-746w-3336","CGA-47pc-5qr4-gmw4","CGA-hx2q-xrrv-3chj","CGA-j8f6-3rrj-2h67"],"status":"published","duplicateOf":null,"title":null,"description":"Vite is a frontend tooling framework for javascript. Prior to versions 6.3.4, 6.2.7, 6.1.6, 5.4.19, and 4.5.14, the contents of files in the project root that are denied by a file matching pattern can be returned to the browser. Only apps explicitly exposing the Vite dev server to the network (using --host or server.host config option) are affected. Only files that are under project root and are denied by a file matching pattern can be bypassed. `server.fs.deny` can contain patterns matching against files (by default it includes .env, .env.*, *.{crt,pem} as such patterns). These patterns were able to bypass for files under `root` by using a combination of slash and dot (/.). This issue has been patched in versions 6.3.4, 6.2.7, 6.1.6, 5.4.19, and 4.5.14.","dates":{"published":"2025-05-01T17:20:29.773Z","modified":"2025-05-02T17:38:55.291Z","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 · Wolfi","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 · 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},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0117,"percentile":0.6695,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.01299999999999999,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.01157},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01157,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01157,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01157,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01157,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01157,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01157,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01157,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01157,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01157,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01157,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01157,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01157,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01157,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0117,"percentile":0.6695}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.01157,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01157,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01157,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01157,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01157,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01157,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01157,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0117,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0117,"percentile":0.6695}]},"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":[{"id":"GITHUB_VITEJS_VITE","name":"Vite","source":"github","url":"https://github.com/vitejs/vite/issues/8498","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/22.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}],"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}],"versionsText":"< 2.95.12-r28","eol":null,"hubHref":null},{"vendor":"chainguard","product":"vite","name":"vite","label":"vite","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/vite","purlType":"apk","versions":[{"text":"< 6.3.4-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.3.4-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"vite","name":"vite","label":"vite","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/vite","purlType":"apk","versions":[{"text":"< 6.3.4-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.3.4-r0","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.3.0, < 6.3.4","noFixRecorded":false,"fixedIn":null},{"text":"≥ 6.2.0, < 6.2.7","noFixRecorded":false,"fixedIn":null},{"text":"≥ 6.0.0, < 6.1.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.0.0, < 5.4.19","noFixRecorded":false,"fixedIn":null},{"text":"< 4.5.14","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 6.3.0, < 6.3.4 | ≥ 6.2.0, < 6.2.7 | ≥ 6.0.0, < 6.1.6 | ≥ 5.0.0, < 5.4.19 | < 4.5.14","eol":null,"hubHref":null},{"vendor":"vitejs","product":"vite","name":"vite","label":"vite","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 4.5.14","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.0.0, < 5.4.19","noFixRecorded":false,"fixedIn":null},{"text":"≥ 6.0.0, < 6.1.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 6.2.0, < 6.2.7","noFixRecorded":false,"fixedIn":null},{"text":"≥ 6.3.0, < 6.3.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.5.14 | ≥ 5.0.0, < 5.4.19 | ≥ 6.0.0, < 6.1.6 | ≥ 6.2.0, < 6.2.7 | ≥ 6.3.0, < 6.3.4","eol":null,"hubHref":"/vendor/vitejs/vite"}],"affectedCount":6,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/vitejs/vite/security/advisories/GHSA-859w-5945-r5v3","label":"github.com/vitejs/vite/security/advisories/GHSA-859w-5945-r5v3","hostname":"github.com","tags":["X Refsource CONFIRM","Advisory","WEB","Exploit","Vendor Advisory"]},{"url":"https://github.com/vitejs/vite/commit/c22c43de612eebb6c182dd67850c24e4fab8cacb","label":"github.com/vitejs/vite/commit/c22c43de612eebb6c182dd67850c24e4fab8cacb","hostname":"github.com","tags":["X Refsource MISC","FIX","WEB","Patch"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/46xxx/CVE-2025-46565.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2025/46xxx/CVE-2025-46565.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-46565","label":"nvd.nist.gov/vuln/detail/CVE-2025-46565","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/vitejs/vite","label":"github.com/vitejs/vite","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-988C-PCRG-MW38","CGA-9VV3-XW5C-7PP9","CGA-P2J3-8RCH-X3QM","CGA-V43X-7RRM-XQ74"]},"timeline":[{"kind":"published","date":"2025-05-01T17:20:29.773Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-05-02T17:38:55.291Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":34,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T00:32:29.323Z","stale":false,"partial":false}}