@pnpm/exe is vulnerable to Authorization Bypass
59
Medium Risk
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.
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.
@pnpm/exe is vulnerable to Authorization Bypass in versions 12.0.0 - 12.11.2.
Upgrade the @pnpm/exe library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.