CVE-2026-59195: pnpm: Path traversal in configDependencies env lockfile allows symlink creation outside node_modules/.pnpm-config

Published Jul 6, 2026
·
Updated

pnpm is a package manager. Prior to 10.34.4 and 11.8.0, pnpm accepts package names from the env lockfile configDependencies section and uses those names directly when creating config dependency symlinks under nodemodules/.pnpm-config. A malicious repository can commit a crafted pnpm-lock.yaml whose env-lockfile document contains a traversal-shaped config dependency name. During pnpm install, pnpm installs the config dependency and creates a symlink at a path derived from that name. This vulnerability is fixed in 10.34.4 and 11.8.0.

Affected Software

3 affected components
pnpm/pnpm><
PNPM Pnpm Node.js<10.34.4
PNPM Pnpm Node.js>=11.0.0<11.8.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade pnpm to a version that resolves this vulnerability.

    Fixed in 10.34.4
  2. Upgrade

    Upgrade pnpm to a version that resolves this vulnerability.

    Fixed in 11.8.0

Event History

Jul 6, 2026
CVE Published
via MITRE·03:21 PM
Data Sourced
via MITRE·03:21 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:16 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-59195?

CVE-2026-59195 has a severity rating of 8.2, which is categorized as high.

2

How do I fix CVE-2026-59195?

To fix CVE-2026-59195, upgrade pnpm to version 10.34.4 or later, or to version 11.8.0 or later.

3

What type of vulnerability is CVE-2026-59195?

CVE-2026-59195 is a path traversal vulnerability that allows symlink creation outside the intended directory.

4

What are the potential impacts of CVE-2026-59195?

The potential impacts of CVE-2026-59195 include unauthorized file access and manipulation, which can lead to further exploitation.

5

Which software is affected by CVE-2026-59195?

CVE-2026-59195 affects the pnpm package manager versions prior to 10.34.4 and 11.8.0.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203