Intel

AIKIDO-2026-571792

@pnpm/exe is vulnerable to Authorization Bypass

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Oct 15, 2026
October 15, 2026

59

CVE Score

Medium

Authorization Bypass

Are you affected? Scan for Free

TL;DR

pnpm's install-time build-script policy lets dangerouslyAllowAllBuilds approve every dependency's lifecycle scripts before the per package allowBuilds denylist is checked. A workspace that sets dangerouslyAllowAllBuilds while also explicitly denying specific packages with allowBuilds still runs the denied packages' install/build scripts. This lets a dependency the project deliberately blocked execute code during pnpm install instead of staying disabled. The fix evaluates explicit allowBuilds denials before the blanket allow so a deny entry always wins.

How do I fix this?

Upgrade the @pnpm/exe library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you set dangerouslyAllowAllBuilds while also denying specific packages with allowBuilds.

Package

Versions

12.0.0 - 12.11.2

Fixed in 12.12.0

Background info

@pnpm/exe is vulnerable to Authorization Bypass in versions 12.0.0 - 12.11.2.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea