Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. vite-plus
  4. ›
  5. CVE-2026-41211

CVE-2026-41211: Path traversal in vite-plus/binding downloadPackageManager() writes outside VP_HOME

April 16, 2026 (updated May 6, 2026)

downloadPackageManager() in vite-plus/binding accepts an untrusted version string and uses it directly in filesystem paths. A caller can supply ../ segments to escape the VP_HOME/package_manager/<pm>/ cache root and cause Vite+ to delete, replace, and populate directories outside the intended cache location.

References

  • github.com/advisories/GHSA-33r3-4whc-44c2
  • github.com/voidzero-dev/vite-plus/security/advisories/GHSA-33r3-4whc-44c2
  • nvd.nist.gov/vuln/detail/CVE-2026-41211

Code Behaviors & Features

Detect and mitigate CVE-2026-41211 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.1.17

Fixed versions

  • 0.1.17

Solution

Upgrade to version 0.1.17 or above.

Impact 10 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

npm/vite-plus/CVE-2026-41211.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:26 +0000.