Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. pnpm
  4. ›
  5. CVE-2026-55697

CVE-2026-55697: pnpm: Repository-controlled configDependencies can select a pacquet native install engine

June 26, 2026

pnpm can install configDependencies declared in pnpm-workspace.yaml before command dispatch. Before the patch, a repository could declare pacquet or @pnpm/pacquet as a config dependency and pnpm treated that repository-controlled dependency as an install-engine opt-in. During install, pnpm resolved a platform-specific @pacquet/<platform>-<arch>/pacquet binary from node_modules/.pnpm-config/<packageName> and spawned it as the developer or CI user.

References

  • github.com/advisories/GHSA-gj8w-mvpf-x27x
  • github.com/pnpm/pnpm/security/advisories/GHSA-gj8w-mvpf-x27x
  • nvd.nist.gov/vuln/detail/CVE-2026-55697

Code Behaviors & Features

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

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 11.5.3

Fixed versions

  • 11.5.3

Solution

Upgrade to version 11.5.3 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-494: Download of Code Without Integrity Check
  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
  • CWE-829: Inclusion of Functionality from Untrusted Control Sphere

Source file

npm/pnpm/CVE-2026-55697.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sat, 11 Jul 2026 00:16:49 +0000.