Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. pnpm
  4. ›
  5. GHSA-fr4h-3cph-29xv

GHSA-fr4h-3cph-29xv: pnpm: Hoisted install imports lockfile alias outside node_modules

June 27, 2026

The hoisted dependency alias issue tracked as GHSA-fr4h-3cph-29xv / CAND-PNPM-059 has been addressed in both pnpm and pacquet.

A crafted lockfile alias could be joined directly under a hoisted node_modules directory. Traversal aliases could escape that directory, while reserved aliases such as .bin or .pnpm could overwrite pnpm-owned layout. This patch validates package-name semantics and path containment before graph insertion or filesystem work.

References

  • github.com/advisories/GHSA-fr4h-3cph-29xv
  • github.com/pnpm/pnpm/security/advisories/GHSA-fr4h-3cph-29xv

Code Behaviors & Features

Detect and mitigate GHSA-fr4h-3cph-29xv 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 10.34.4, all versions starting from 11.0.0 before 11.7.0

Fixed versions

  • 10.34.4
  • 11.7.0

Solution

Upgrade to versions 10.34.4, 11.7.0 or above.

Impact 7.1 HIGH

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

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-73: External Control of File Name or Path

Source file

npm/pnpm/GHSA-fr4h-3cph-29xv.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:47 +0000.