{"answers":{"affected":"2 open source packages ship an affected version, including vite.","exploited":"There is no known exploitation of CVE-2026-118662 in the wild and no public exploit code.","fix":"Upgrade vite to 6.4.5 or later.","what":"CVE-2026-118662 is a medium-severity vulnerability in vitejs vite, published on 28 Oct 2026."},"fix_prompt":"Check this codebase for CVE-2026-118662 and fix it if it is affected.\n\nWhat it is: CVE-2026-118662 is a medium-severity vulnerability in vitejs vite, published on 28 Oct 2026. \nExploitation: There is no known exploitation of CVE-2026-118662 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- vite (npm): affected from 6.4.4; fixed in 6.4.5\n- vite (npm): affected from 6.4.4; fixed in 6.4.5\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-118662/ (Markdown: https://insights.sbomify.com/CVE-2026-118662/index.md)","id":"CVE-2026-118662","markdown":"https://insights.sbomify.com/CVE-2026-118662/index.md","name":"CVE-2026-118662","record":{"aliases":["GHSA-8g5g-mxqh-grgj"],"analysis":null,"analysis_generated_by":null,"assigner":"GitHub_M","cpe":[],"cvss":{"score":6.9,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:H/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-284","name":"Improper Access Control"},{"id":"CWE-180","name":"Incorrect Behavior Order: Validate Before Canonicalize"}],"description":"Vite is a frontend tooling framework for JavaScript. From 6.4.4 until 6.4.5, the Vite development server can evaluate server.fs.deny before stripping loader query parameters such as ?raw, ?import\u0026raw, or ?import\u0026url\u0026inline. When the development server is exposed to the network and a sensitive file is inside server.fs.allow but matched by server.fs.deny, an unauthenticated attacker can append one of these queries and retrieve the denied file. This issue is fixed in version 6.4.5.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Vite: `server.fs.deny` bypassed with queries","id":"CVE-2026-118662","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":null,"year":"2026"},"n_packages":2,"n_references":5,"next":{"headline":"@hono/node-server: `serveStatic` decodes the request path a second time, leading to bypass of middleware on static paths","id":"CVE-2026-118663"},"packages":[{"ecosystem":"npm","fixed":["6.4.5"],"introduced":["6.4.4"],"last_affected":[],"package":"vite","purl":null,"source":"GHSA-8g5g-mxqh-grgj"},{"ecosystem":"npm","fixed":["6.4.5"],"introduced":["6.4.4"],"last_affected":[],"package":"vite","purl":"pkg:npm/vite","source":"GHSA-8g5g-mxqh-grgj"}],"prev":{"headline":"Happy DOM: Cookie scope forgery: no DNS-label boundary on Domain= matching , attacker origin sets victim cookies","id":"CVE-2026-118661"},"products":["vite"],"published":"2026-10-28","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2026-10-28","vendors":["vitejs"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-118662/"}