{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-46565","published":"2025-05-01T18:15:57.797000Z","last_modified":"2026-06-17T09:26:37.953000Z","status":"Analyzed","cvss":{"version":"4.0","score":6.0,"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","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-22"],"cpes":[{"criteria":"cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:*","part":"a","vendor":"vitejs","product":"vite","version_end_excluding":"4.5.14"},{"criteria":"cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:*","part":"a","vendor":"vitejs","product":"vite","version_start_including":"5.0.0","version_end_excluding":"5.4.19"},{"criteria":"cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:*","part":"a","vendor":"vitejs","product":"vite","version_start_including":"6.0.0","version_end_excluding":"6.1.6"},{"criteria":"cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:*","part":"a","vendor":"vitejs","product":"vite","version_start_including":"6.2.0","version_end_excluding":"6.2.7"},{"criteria":"cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:*","part":"a","vendor":"vitejs","product":"vite","version_start_including":"6.3.0","version_end_excluding":"6.3.4"}],"cpes_truncated":false,"vendors":["vitejs"],"products":["vitejs/vite"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-859w-5945-r5v3","ecosystem":"npm","name":"vite","purl":"pkg:npm/vite","ranges":[{"introduced":"6.3.0","fixed":"6.3.4"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-859w-5945-r5v3","ecosystem":"npm","name":"vite","purl":"pkg:npm/vite","ranges":[{"introduced":"6.2.0","fixed":"6.2.7"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-859w-5945-r5v3","ecosystem":"npm","name":"vite","purl":"pkg:npm/vite","ranges":[{"introduced":"6.0.0","fixed":"6.1.6"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-859w-5945-r5v3","ecosystem":"npm","name":"vite","purl":"pkg:npm/vite","ranges":[{"introduced":"5.0.0","fixed":"5.4.19"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-859w-5945-r5v3","ecosystem":"npm","name":"vite","purl":"pkg:npm/vite","ranges":[{"introduced":"0","fixed":"4.5.14"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":51,"links":{"html_es":"/es/cve/CVE-2025-46565/","html_en":"/en/cve/CVE-2025-46565/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-46565","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-46565"},"untrusted":{"vendor_name":"Vitejs","product_name":"Vite","desc_en":"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.","affected":[{"untrusted_vendor":"vitejs","untrusted_product":"vite","versions":[]}],"references":[{"url":"https://github.com/vitejs/vite/commit/c22c43de612eebb6c182dd67850c24e4fab8cacb","tags":["Patch"]},{"url":"https://github.com/vitejs/vite/security/advisories/GHSA-859w-5945-r5v3","tags":["Exploit","Vendor Advisory"]}]}}