Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. vite-plus
  4. ›
  5. GHSA-33r3-4whc-44c2

GHSA-33r3-4whc-44c2: Path traversal in vite-plus/binding downloadPackageManager() writes outside VP_HOME

April 16, 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
  • github.com/voidzero-dev/vite-plus/security/advisories/GHSA-33r3-4whc-44c2

Code Behaviors & Features

Detect and mitigate GHSA-33r3-4whc-44c2 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 9 CRITICAL

CVSS:3.1/AV:L/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/GHSA-33r3-4whc-44c2.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:16:03 +0000.