REDHAT-BUG-2427709: High severity pnpm vulnerability

Published Jan 7, 2026
·
Updated

pnpm is a package manager. Versions 10.0.0 through 10.25 allow git-hosted dependencies to execute arbitrary code during pnpm install, circumventing the v10 security feature "Dependency lifecycle scripts execution disabled by default". While pnpm v10 blocks postinstall scripts via the onlyBuiltDependencies mechanism, git dependencies can still execute prepare, prepublish, and prepack scripts during the fetch phase, enabling remote code execution without user consent or approval. This issue is fixed in version 10.26.0.

Affected Software

2 affected components
pnpm>=10.0.0<=10.25
pnpm=10.26.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 10.26.0

Event History

Jan 7, 2026
Data Sourced
via Red Hat·10:02 PM
DescriptionSeverityAffected 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 REDHAT-BUG-2427709?

The severity of REDHAT-BUG-2427709 is rated as high, with a score of 7.

2

How do I fix REDHAT-BUG-2427709?

To fix REDHAT-BUG-2427709, upgrade pnpm to version 10.26 or later.

3

What vulnerability does REDHAT-BUG-2427709 exploit?

REDHAT-BUG-2427709 exploits a flaw that allows git-hosted dependencies to execute arbitrary code during pnpm install.

4

Which versions of pnpm are affected by REDHAT-BUG-2427709?

pnpm versions 10.0.0 through 10.25 are affected by REDHAT-BUG-2427709.

5

What security feature is circumvented in REDHAT-BUG-2427709?

REDHAT-BUG-2427709 circumvents the security feature that disables dependency lifecycle scripts execution by default in pnpm.

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