{"answers":{"affected":"2 open source packages ship an affected version, including vite-plus. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-41211 exists.","fix":"Upgrade vite-plus to 0.1.17 or later.","what":"CVE-2026-41211 is a high-severity path traversal vulnerability in voidzero-dev vite-plus, published on 23 Apr 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-41211 and fix it if it is affected.\n\nWhat it is: CVE-2026-41211 is a high-severity path traversal vulnerability in voidzero-dev vite-plus, published on 23 Apr 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-41211 exists.\n\nAffected packages and fixed versions:\n- vite-plus (npm): affected all versions; fixed in 0.1.17\n- vite-plus (npm): affected all versions; fixed in 0.1.17\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-41211/ (Markdown: https://insights.sbomify.com/CVE-2026-41211/index.md)","id":"CVE-2026-41211","markdown":"https://insights.sbomify.com/CVE-2026-41211/index.md","name":"CVE-2026-41211","record":{"aliases":["GHSA-33r3-4whc-44c2"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["data_modify","code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Vite+ toolchain","requires_auth":"none","summary":"Attackers can exploit path traversal in downloadPackageManager to write files outside the cache directory, potentially leading to code execution.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"vite\\+","vendor":"voidzero"}],"cvss":{"score":8.4,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:H/SA:H","version":"4.0"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"Vite+ is a unified toolchain and entry point for web development. Prior to version 0.1.17, `downloadPackageManager()` accepts an untrusted `version` string and uses it directly in filesystem paths. A caller can supply `../` segments or an absolute path to escape the `VP_HOME/package_manager/\u003cpm\u003e/` cache root and make Vite+ delete, replace, and populate directories outside the intended cache location. Version 0.1.17 contains a patch.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"`vite-plus/binding` has path traversal `downloadPackageManager()` that leads to writes outside of `VP_HOME`","id":"CVE-2026-41211","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":2,"n_references":1,"next":{"headline":"@node-oauth/oauth2-server: PKCE code_verifier ABNF not enforced in token exchange allows brute-force redemption of intercepted authorization codes","id":"CVE-2026-41213"},"packages":[{"ecosystem":"npm","fixed":["0.1.17"],"introduced":["0"],"last_affected":[],"package":"vite-plus","purl":null,"source":"GHSA-33r3-4whc-44c2"},{"ecosystem":"npm","fixed":["0.1.17"],"introduced":["0"],"last_affected":[],"package":"vite-plus","purl":"pkg:npm/vite-plus","source":"GHSA-33r3-4whc-44c2"}],"prev":{"headline":"Moonlight Qt: Remote heap buffer overflow in Moonlight Qt H.264 SPS fixup path via crafted seq_parameter_set_id","id":"CVE-2026-41210"},"products":["vite-plus"],"published":"2026-04-23","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":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-04-23","vendors":["voidzero-dev"]},"summary":"Attackers can exploit path traversal in downloadPackageManager to write files outside the cache directory, potentially leading to code execution.","url":"https://insights.sbomify.com/CVE-2026-41211/"}